Sha256: 5594ffd50a4bdc11940700d4a2c69d19df0e00f92ce1dc26a0ee32489b3aa5ab
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
require 'space2underscore/version' module Space2underscore def self.convert(argv) argv.length == 1 ? argv[0].strip.gsub(/\s/, '_') : argv.join('_') end def self.copy_command(space_include_sentence) "echo #{space_include_sentence} | ruby -pe 'chomp' | pbcopy" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.1.0 | lib/space2underscore.rb |