Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove String#to_a since it shouldn't exist
  • Loading branch information
meh committed Jan 12, 2014
1 parent fe56405 commit 3619bd8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions opal/corelib/string.rb
Expand Up @@ -808,16 +808,6 @@ def swapcase
}
end

def to_a
%x{
if (#{self}.length === 0) {
return [];
}
return [#{self}];
}
end

def to_f
%x{
if (self.charAt(0) === '_') {
Expand Down

0 comments on commit 3619bd8

Please sign in to comment.