Sha256: 3040462b2c48ae91e0987149574e5f7d16bbace544627c7aa3e73153e3a14694

Contents?: true

Size: 181 Bytes

Versions: 1

Compression:

Stored size: 181 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2dot-0.1.2 lib/space2dot.rb