Class: Styles::Application
- Inherits:
-
Object
- Object
- Styles::Application
- Defined in:
- lib/styles/application.rb
Constant Summary collapse
- STYLESHEET_CHECK_INTERVAL_SECONDS =
2
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Application
constructor
A new instance of Application.
- #run ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Application
Returns a new instance of Application.
8 9 10 11 12 13 |
# File 'lib/styles/application.rb', line 8 def initialize(={}) @input_stream = [:input_stream] || $stdin @output_stream = [:output_stream] || $stdout @quiet = false = nil end |
Instance Method Details
#run ⇒ Object
15 16 17 18 19 20 |
# File 'lib/styles/application.rb', line 15 def run create_stylesheets_dir parse_args read_stylesheets process end |