Sha256: 98ad15a0e849368bacfb1c957e9784b57fa3183f44cfa3f50bcd5dfc7576c360
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 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} | 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.1 | lib/space2underscore.rb |