Class: ConsoleKit::Configuration
- Inherits:
-
Object
- Object
- ConsoleKit::Configuration
- Defined in:
- lib/console_kit/configuration.rb
Overview
Stores configurations
Instance Attribute Summary collapse
-
#context_class ⇒ Object
Returns the value of attribute context_class.
-
#pretty_output ⇒ Object
Returns the value of attribute pretty_output.
-
#tenants ⇒ Object
Returns the value of attribute tenants.
Instance Method Summary collapse
-
#initialize(pretty_output: true, tenants: nil, context_class: nil) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(pretty_output: true, tenants: nil, context_class: nil) ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 |
# File 'lib/console_kit/configuration.rb', line 8 def initialize(pretty_output: true, tenants: nil, context_class: nil) @pretty_output = pretty_output @tenants = tenants @context_class = context_class end |
Instance Attribute Details
#context_class ⇒ Object
Returns the value of attribute context_class.
6 7 8 |
# File 'lib/console_kit/configuration.rb', line 6 def context_class @context_class end |
#pretty_output ⇒ Object
Returns the value of attribute pretty_output.
6 7 8 |
# File 'lib/console_kit/configuration.rb', line 6 def pretty_output @pretty_output end |
#tenants ⇒ Object
Returns the value of attribute tenants.
6 7 8 |
# File 'lib/console_kit/configuration.rb', line 6 def tenants @tenants end |