Permalink
Browse files

duplicate string on conversion to so things work with hash keys

  • Loading branch information...
Aarong93 committed Nov 2, 2011
1 parent bc32055 commit e2787d848d12a954da18ea61f24a071a44bb054b
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/rsruby.rb
View
@@ -181,9 +181,9 @@ def RSRuby.convert_method_name(name)
if name.length > 1 and name[-1].chr == '_' and name[-2].chr != '_'
name = name[0..-2]
end
name.gsub!(/__/,'<-')
name.gsub!(/_/, '.')
return name
newname = name.gsub(/__/,'<-')
newname = name.gsub(/_/, '.')
return newname
end
#Converts an Array of function arguments into lcall format. If the last

0 comments on commit e2787d8

Please sign in to comment.