class Extended

Parse the parameter hash using the extended standard.

Public Instance Methods

parse() click to toggle source

Convert a hash in an array of ‘Extended style’ option strings. @return [Array] Extended-style parsed params.

# File lib/runnable/extended.rb, line 25
def parse
  @params.collect { |param , value|  ["-#{param}", "#{value}"] }
end