1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Merge pull request #267 from gerrywastaken/fix/accidently-usage-of-rails-only-method

Replace Rails method with Ruby equivilent
This commit is contained in:
Gerry 2016-08-30 02:20:06 +10:00 committed by GitHub
commit eb1db7d624

View file

@ -47,7 +47,7 @@ module AwesomePrint
private
def symbol?(k)
k.first == ':'
k[0] == ':'
end
def ruby19_syntax(k, v, width)