Alias Ruby::Node#to_ary to #to_a
JRuby 1.7 uses to_ary opposed to to_a.
This commit is contained in:
1 parent
b74f8dc1a3
commit
bf0ca7c907
1 file changed
+2
@@ -44,6 +44,8 @@ module Oga
|
||||
@children
|
||||
end
|
||||
|
||||
alias_method :to_ary, :to_a
|
||||
|
||||
##
|
||||
# Returns a "to_a" call node.
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user