Sha256: 9c7fac23490c3d5f94b07f30d7cf84dda547a8443eac32bd8e53dacd249628dd
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
require 'space2dot/version' module Space2dot def self.convert(argv) argv.length == 1 ? argv[0].strip.gsub(/\s/, '.').insert(0, '.') : argv.join('.').insert(0, '.') end def self.copy_command(dot_include_sentence) "echo #{dot_include_sentence} | ruby -pe 'chomp' | pbcopy" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
space2dot-0.0.2 | lib/space2dot.rb |
space2dot-0.0.1 | lib/space2dot.rb |