Skip to content

updates for compatibility with Ruby 1.9, specs still pass for 1.8#1

Open
stepheneb wants to merge 2 commits intoragaskar:masterfrom
stepheneb:ruby19
Open

updates for compatibility with Ruby 1.9, specs still pass for 1.8#1
stepheneb wants to merge 2 commits intoragaskar:masterfrom
stepheneb:ruby19

Conversation

@stepheneb
Copy link

String#to_a isn't present in Ruby 1.9.

Also Array#to_s works differently

in 1.8

>> ["abc", "def"].to_s
=> "abcdef"

In 1.9

>> ["abc", "def"].to_s
=> "[\"abc\", \"def\"]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant