Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/fwtoolkit/cli/frank.rb
Instance Method Summary collapse
Instance Method Details
#ruby_format ⇒ Object
22 23 24 |
# File 'lib/fwtoolkit/cli/frank.rb', line 22 def ruby_format self.gsub(/(.)([A-Z])/,'\1_\2').downcase end |
#ruby_format! ⇒ Object
26 27 28 |
# File 'lib/fwtoolkit/cli/frank.rb', line 26 def ruby_format! replace ruby_format end |