Class/Module Index [+]

Quicksearch

Compass::Commands::Default

Public Class Methods

option_parser(arguments) click to toggle source
# File lib/compass/commands/default.rb, line 27
def option_parser(arguments)
  parser = Compass::Exec::CommandOptionParser.new(arguments)
  parser.extend(DefaultOptionsParser)
end
parse!(arguments) click to toggle source

def usage

$stderr.puts caller.join("\n")
"XXX"

end

# File lib/compass/commands/default.rb, line 35
def parse!(arguments)
  parser = option_parser(arguments)
  parser.parse!
  parser.options[:command] ||= Proc.new do
    Help.new(working_path, options.merge(:help_command => "help"))
  end
  parser.options
end

Public Instance Methods

execute() click to toggle source
# File lib/compass/commands/default.rb, line 45
def execute
  instance_eval(&options[:command]).execute
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.