-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't convert Saxerator::Builder::StringElement to Array #62
Comments
@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 |
I think this behavior changed when we stopped extending core ruby classes, using delegation instead. |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the README:
Snippet:
gives
The text was updated successfully, but these errors were encountered: