Sha256: 26f5c8d9127c277669a3a89d8952be43c45c0cc4b642229ba845d6810fd062f9
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
require "space2underscore/version" module Space2underscore def self.convert_to_underscore(argv) if argv space_include = argv.gsub(/\s/, '_') copy_command = `echo #{space_include} | ruby -pe 'chomp' | pbcopy` return space_include, copy_command else raise "Error! Please enter string" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.0.4 | lib/space2underscore.rb |