Sha256: c7198356bac35611b20c4f24b2960219cd165eb66d827f80d7f88538818112c5
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
module Space2underscore class Executor def initialize(underscore_include_sentence) @underscore_include_sentence = underscore_include_sentence end def run_with_raw run @underscore_include_sentence end def run_with_downcase run @underscore_include_sentence.downcase end private def run(sentence) exit system "git checkout -b #{sentence}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.5.2 | lib/space2underscore/executor.rb |