Open voke opened 6 years ago
@soulcutter I've checked is really a bug. Could you check when find a time please?
I think the problem is this commit which changed the behaviour.
# string_element.rb
def to_a
ArrayElement.new(self, name)
end
should probably be
def to_a
ArrayElement.new([self], name)
end
@voke Already tested it and it's doesn't work. I thing Array() expect and exactly Array
object.
I think this behavior changed when we stopped extending core ruby classes, using delegation instead.
According to the README:
Snippet:
gives