Class: Space2underscore::Usage

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

Constant Summary collapse

MESSAGE =
<<-EOF.chomp
    NAME:
       space2underscore - Change the space into underscore

    USAGE:
       $ s2u new branch -c
       =>  Switched to the new branch 'new_branch’

      Or

      $ git branch -m $(s2u renamed branch)

    VERSION:
       #{Space2underscore::VERSION}

    OPTIONS:
       --create, -c         create a new branch
EOF

Instance Method Summary collapse

Instance Method Details

#contentObject



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

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