Class: SearchCraft::Configuration
- Inherits:
-
Object
- Object
- SearchCraft::Configuration
- Defined in:
- lib/searchcraft/configuration.rb
Instance Attribute Summary collapse
- #debug ⇒ Object
-
#disable_annotate ⇒ Object
Returns the value of attribute disable_annotate.
-
#disable_autorebuild ⇒ Object
Returns the value of attribute disable_autorebuild.
-
#explicit_builder_class_names ⇒ Object
Returns the value of attribute explicit_builder_class_names.
-
#explicit_builder_classes ⇒ Object
Returns the value of attribute explicit_builder_classes.
-
#explicit_model_class_names ⇒ Object
Returns the value of attribute explicit_model_class_names.
-
#view_hash_store_table_name ⇒ Object
Returns the value of attribute view_hash_store_table_name.
Instance Method Summary collapse
Instance Attribute Details
#debug ⇒ Object
15 16 17 |
# File 'lib/searchcraft/configuration.rb', line 15 def debug @debug || ENV["SEARCHCRAFT_DEBUG"] == "true" end |
#disable_annotate ⇒ Object
Returns the value of attribute disable_annotate.
4 5 6 |
# File 'lib/searchcraft/configuration.rb', line 4 def disable_annotate @disable_annotate end |
#disable_autorebuild ⇒ Object
Returns the value of attribute disable_autorebuild.
3 4 5 |
# File 'lib/searchcraft/configuration.rb', line 3 def disable_autorebuild @disable_autorebuild end |
#explicit_builder_class_names ⇒ Object
Returns the value of attribute explicit_builder_class_names.
7 8 9 |
# File 'lib/searchcraft/configuration.rb', line 7 def explicit_builder_class_names @explicit_builder_class_names end |
#explicit_builder_classes ⇒ Object
Returns the value of attribute explicit_builder_classes.
6 7 8 |
# File 'lib/searchcraft/configuration.rb', line 6 def explicit_builder_classes @explicit_builder_classes end |
#explicit_model_class_names ⇒ Object
Returns the value of attribute explicit_model_class_names.
8 9 10 |
# File 'lib/searchcraft/configuration.rb', line 8 def explicit_model_class_names @explicit_model_class_names end |
#view_hash_store_table_name ⇒ Object
Returns the value of attribute view_hash_store_table_name.
9 10 11 |
# File 'lib/searchcraft/configuration.rb', line 9 def view_hash_store_table_name @view_hash_store_table_name end |
Instance Method Details
#autorebuild? ⇒ Boolean
11 12 13 |
# File 'lib/searchcraft/configuration.rb', line 11 def autorebuild? !disable_autorebuild end |