Class: Classic::Configuration
- Inherits:
-
Object
- Object
- Classic::Configuration
- Defined in:
- lib/classic/configuration.rb
Instance Attribute Summary collapse
-
#auto_reload_on_change ⇒ Object
Returns the value of attribute auto_reload_on_change.
-
#classes_merge_handler ⇒ Object
Returns the value of attribute classes_merge_handler.
-
#file_prefix ⇒ Object
Returns the value of attribute file_prefix.
-
#files ⇒ Object
Returns the value of attribute files.
-
#raise_error_on_not_found ⇒ Object
Returns the value of attribute raise_error_on_not_found.
Instance Method Summary collapse
Instance Attribute Details
#auto_reload_on_change ⇒ Object
Returns the value of attribute auto_reload_on_change.
5 6 7 |
# File 'lib/classic/configuration.rb', line 5 def auto_reload_on_change @auto_reload_on_change end |
#classes_merge_handler ⇒ Object
Returns the value of attribute classes_merge_handler.
5 6 7 |
# File 'lib/classic/configuration.rb', line 5 def classes_merge_handler @classes_merge_handler end |
#file_prefix ⇒ Object
Returns the value of attribute file_prefix.
5 6 7 |
# File 'lib/classic/configuration.rb', line 5 def file_prefix @file_prefix end |
#files ⇒ Object
Returns the value of attribute files.
5 6 7 |
# File 'lib/classic/configuration.rb', line 5 def files @files end |
#raise_error_on_not_found ⇒ Object
Returns the value of attribute raise_error_on_not_found.
5 6 7 |
# File 'lib/classic/configuration.rb', line 5 def raise_error_on_not_found @raise_error_on_not_found end |
Instance Method Details
#validate ⇒ Object
8 9 10 11 12 |
# File 'lib/classic/configuration.rb', line 8 def validate if files.nil? || files.empty? puts "[Classic configuration] style directory not present or 'files' in style directory not present." end end |