Class: Space2underscore::Usage

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

Constant Summary collapse

MESSAGE =
"    NAME:\n       space2underscore - Change the space into underscore\n\n    USAGE:\n       $ s2u new branch -c\n       =>  Switched to the new branch 'new_branch\u2019\n\n      Or\n\n      $ git branch -m $(s2u renamed branch)\n\n    VERSION:\n       \#{Space2underscore::VERSION}\n\n    OPTIONS:\n       --create, -c         create a new branch\n".chomp

Instance Method Summary collapse

Instance Method Details

#contentObject



24
25
26
# File 'lib/space2underscore/usage.rb', line 24

def content
  MESSAGE.gsub('        ', '')
end