Sha256: 1d6ead166a9811fb31cd3af0c2ad63b57638517e49cea0f396f1020263807f51

Contents?: true

Size: 175 Bytes

Versions: 1

Compression:

Stored size: 175 Bytes

Contents

require 'space2dot/version'

module Space2dot
  class << self
    def convert(argv)
      argv.length == 1 ? argv[0].strip.gsub(/\s/,  '.') : argv.join('.')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2dot-0.1.1 lib/space2dot.rb