All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.compass-1.0.3.lib.compass.exec.command_option_parser.rb Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
module Compass::Exec
  class CommandOptionParser
    attr_accessor :options, :arguments, :opts
    def initialize(arguments)
      self.arguments = arguments
      self.options = {}
    end
    def parse!
      opts.parse!(arguments)
    end
    def opts
      OptionParser.new do |opts|
        self.set_options(opts)
      end
    end
    def set_options(opts)

    end
    def to_s
      opts.to_s
    end
  end
end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy