Methods

Class/Module Index [+]

Quicksearch

Compass::Commands::ExtensionOptionsParser

Public Instance Methods

set_options(opts) click to toggle source
# File lib/compass/commands/unpack_extension.rb, line 7
def set_options(opts)
  opts.banner = %{
    Usage: compass unpack EXTENSION

    Description:
      Copy an extension into your extensions folder for easy access to the source code.
      This makes it easier to peruse the source in unfamiliar projects. It is not recommended
      that you change other extensions' source -- this makes it hard to take updates from
      the original author. The following extensions are available:
      
    FRAMEWORKS
      
    Options:
  }.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n")
  opts.banner.gsub!(/FRAMEWORKS/,Compass::Frameworks.pretty_print(true))
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.