Sha256: 48b4063f9ff9628d38271b37a6d1da28a9171353247f45780f3120c676cf4239

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

require 'space2dash/version'

module Space2dash
  def self.convert(argv)
    argv.length == 1 ? argv[0].strip.gsub(/\s/,  '-') : argv.join('-')
  end

  def self.create_new_branch(dash_include_sentence)
    system "git checkout -b #{dash_include_sentence}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2dash-0.0.4 lib/space2dash.rb