Alias Ruby::Node#to_ary to #to_a

JRuby 1.7 uses to_ary opposed to to_a.
This commit is contained in:
Yorick Peterse 2015-08-30 02:06:10 +02:00
parent b74f8dc1a3
commit bf0ca7c907
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ module Oga
@children
end
alias_method :to_ary, :to_a
##
# Returns a "to_a" call node.
#