class Compass::Exec::CommandOptionParser

Attributes

arguments[RW]
options[RW]
opts[RW]

Public Class Methods

new(arguments) click to toggle source
# File lib/compass/exec/command_option_parser.rb, line 4
def initialize(arguments)
  self.arguments = arguments
  self.options = {}
end

Public Instance Methods

parse!() click to toggle source
# File lib/compass/exec/command_option_parser.rb, line 8
def parse!
  opts.parse!(arguments)
end
set_options(opts) click to toggle source
# File lib/compass/exec/command_option_parser.rb, line 16
def set_options(opts)

end
to_s() click to toggle source
# File lib/compass/exec/command_option_parser.rb, line 19
def to_s
  opts.to_s
end