Class: Spectacles::Configuration
- Inherits:
-
Object
- Object
- Spectacles::Configuration
- Defined in:
- lib/spectacles/configuration.rb
Instance Attribute Summary collapse
-
#enable_schema_dump ⇒ Object
Returns the value of attribute enable_schema_dump.
-
#skip_views ⇒ Object
Returns the value of attribute skip_views.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/spectacles/configuration.rb', line 5 def initialize @enable_schema_dump = true @skip_views = [] end |
Instance Attribute Details
#enable_schema_dump ⇒ Object
Returns the value of attribute enable_schema_dump.
3 4 5 |
# File 'lib/spectacles/configuration.rb', line 3 def enable_schema_dump @enable_schema_dump end |
#skip_views ⇒ Object
Returns the value of attribute skip_views.
3 4 5 |
# File 'lib/spectacles/configuration.rb', line 3 def skip_views @skip_views end |