lib/space2dash.rb in space2dash-0.0.3 vs lib/space2dash.rb in space2dash-0.0.4

- old
+ new

@@ -1,13 +1,11 @@ require 'space2dash/version' module Space2dash - class << self - def convert(argv) - argv.length == 1 ? argv[0].strip.gsub(/\s/, '-') : argv.join('-') - end + def self.convert(argv) + argv.length == 1 ? argv[0].strip.gsub(/\s/, '-') : argv.join('-') + end - def create_new_branch(dash_include_sentence) - system "git checkout -b #{dash_include_sentence}" - end + def self.create_new_branch(dash_include_sentence) + system "git checkout -b #{dash_include_sentence}" end end