Sha256: 00174d52c5279649c22aed844f3d6a961cedd8694cf76f5d85b9f18245cf9986
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
require "space2underscore/version" module Space2underscore def self.convert_to_underscore(argv) space_include_sentence = argv.length == 1 ? argv.first.gsub(/\s/, '_') : argv.join('_') copy_command = `echo #{space_include_sentence} | ruby -pe 'chomp' | pbcopy` return space_include_sentence, copy_command end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.0.5 | lib/space2underscore.rb |