Alias Ruby::Node#to_ary to #to_a
JRuby 1.7 uses to_ary opposed to to_a.
This commit is contained in:
parent
b74f8dc1a3
commit
bf0ca7c907
|
@ -44,6 +44,8 @@ module Oga
|
|||
@children
|
||||
end
|
||||
|
||||
alias_method :to_ary, :to_a
|
||||
|
||||
##
|
||||
# Returns a "to_a" call node.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue