Class: Sitespec::Configuration
- Inherits:
-
Object
- Object
- Sitespec::Configuration
- Defined in:
- lib/sitespec/configuration.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#build_path ⇒ Object
Returns the value of attribute build_path.
-
#raise_http_error ⇒ Object
Returns the value of attribute raise_http_error.
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/sitespec/configuration.rb', line 5 def initialize @build_path = "build" @raise_http_error = true end |
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application.
3 4 5 |
# File 'lib/sitespec/configuration.rb', line 3 def application @application end |
#build_path ⇒ Object
Returns the value of attribute build_path.
3 4 5 |
# File 'lib/sitespec/configuration.rb', line 3 def build_path @build_path end |
#raise_http_error ⇒ Object
Returns the value of attribute raise_http_error.
3 4 5 |
# File 'lib/sitespec/configuration.rb', line 3 def raise_http_error @raise_http_error end |