module HashMash

Text manipulation Classes, Modules, procs, etc

Public Instance Methods

to_opts_args() click to toggle source
# File lib/liquidoc.rb, line 1175
def to_opts_args
  out = ''
  if self.is_a? Hash # TODO Should also be testing for flatness
    self.each do |opt,arg|
      out = out + " --#{opt} #{arg}"
    end
  end
  return out
end