Sha256: aedceafab2539e21d1a8548d0665420952bfac4924a1c02064294a8aeff8263b

Contents?: true

Size: 419 Bytes

Versions: 112

Compression:

Stored size: 419 Bytes

Contents

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

Version data entries

112 entries across 110 versions & 8 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-1.0.3/lib/compass/exec/command_option_parser.rb
compass-1.0.3 lib/compass/exec/command_option_parser.rb
compass-1.1.0.alpha.3 lib/compass/exec/command_option_parser.rb
compass-1.1.0.alpha.2 lib/compass/exec/command_option_parser.rb
compass-1.1.0.alpha.1 lib/compass/exec/command_option_parser.rb
compass-1.1.0.alpha.0 lib/compass/exec/command_option_parser.rb
compass-1.0.1 lib/compass/exec/command_option_parser.rb
compass-1.0.0 lib/compass/exec/command_option_parser.rb
compass-1.0.0.rc.1 lib/compass/exec/command_option_parser.rb
compass-1.0.0.rc.0 lib/compass/exec/command_option_parser.rb
compass-0.12.7 lib/compass/exec/command_option_parser.rb
compass-1.0.0.alpha.21 lib/compass/exec/command_option_parser.rb
compass-1.0.0.alpha.20 lib/compass/exec/command_option_parser.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/lib/compass/exec/command_option_parser.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/lib/compass/exec/command_option_parser.rb
compass-0.12.6 lib/compass/exec/command_option_parser.rb
compass-0.12.5 lib/compass/exec/command_option_parser.rb
compass-0.12.4 lib/compass/exec/command_option_parser.rb
compass-1.0.0.alpha.19 lib/compass/exec/command_option_parser.rb
compass-0.12.3 lib/compass/exec/command_option_parser.rb