Class: Csscss::CLI
- Inherits:
-
Object
- Object
- Csscss::CLI
- Defined in:
- lib/csscss/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ CLI
Returns a new instance of CLI.
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/csscss/cli.rb', line 3 def initialize(argv) @argv = argv @verbose = false @color = !windows_1_9 @minimum = 3 @compass = false @ignored_properties = [] @ignored_selectors = [] @match_shorthand = true @ignore_sass_mixins = false end |
Class Method Details
.run(argv) ⇒ Object
199 200 201 |
# File 'lib/csscss/cli.rb', line 199 def run(argv) new(argv).run end |
Instance Method Details
#run ⇒ Object
15 16 17 18 |
# File 'lib/csscss/cli.rb', line 15 def run parse(@argv) execute end |