module Space2dot
This is the main functions.
This module holds the Space2underscore version information.
Constants
- VERSION
Public Class Methods
convert(argv)
click to toggle source
# File lib/space2dot.rb, line 7 def self.convert(argv) if argv.length == 1 argv[0].strip.gsub(/\s/, '.').insert(0, '.') else argv.join('.') end.insert(0, '.') end