Class: YUI::Compressor::Ext::CLI::Base
- Inherits:
-
Cri::Base
- Object
- Cri::Base
- YUI::Compressor::Ext::CLI::Base
- Defined in:
- lib/yui/compressor/ext/cli/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 12 13 |
# File 'lib/yui/compressor/ext/cli/base.rb', line 6 def initialize super('yuicompress') # Add commands. add_command(Commands::All.new) add_command(Commands::Css.new) add_command(Commands::Js.new) end |
Class Method Details
.shared_base ⇒ Ext::Cli::Base
16 17 18 |
# File 'lib/yui/compressor/ext/cli/base.rb', line 16 def self.shared_base @shared_base ||= self.new end |