Class: Kumade::Configuration
- Inherits:
-
Object
- Object
- Kumade::Configuration
- Defined in:
- lib/kumade/configuration.rb
Instance Attribute Summary collapse
- #environment ⇒ Object
-
#pretending ⇒ Object
writeonly
Sets the attribute pretending.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
9 10 11 |
# File 'lib/kumade/configuration.rb', line 9 def environment @environment || "staging" end |
#pretending=(value) ⇒ Object (writeonly)
Sets the attribute pretending
3 4 5 |
# File 'lib/kumade/configuration.rb', line 3 def pretending=(value) @pretending = value end |
Instance Method Details
#outputter ⇒ Object
13 14 15 |
# File 'lib/kumade/configuration.rb', line 13 def outputter @outputter ||= Outputter.new end |
#outputter=(new_outputter) ⇒ Object
17 18 19 |
# File 'lib/kumade/configuration.rb', line 17 def outputter=(new_outputter) @outputter = new_outputter end |
#pretending? ⇒ Boolean
5 6 7 |
# File 'lib/kumade/configuration.rb', line 5 def pretending? @pretending || false end |