Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/string.rb

Instance Method Summary collapse

Instance Method Details

#billyfyObject



9
10
11
# File 'lib/string.rb', line 9

def billyfy
  self.to_s.camelize(:lower).pluralize
end

#rubyifyObject



5
6
7
# File 'lib/string.rb', line 5

def rubyify
  self.underscore
end