Class: Kosmos::Configuration
- Inherits:
-
Object
- Object
- Kosmos::Configuration
- Defined in:
- lib/kosmos.rb
Instance Attribute Summary collapse
-
#output_method ⇒ Object
Returns the value of attribute output_method.
-
#post_processors ⇒ Object
Returns the value of attribute post_processors.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
66 67 68 69 70 |
# File 'lib/kosmos.rb', line 66 def initialize @verbose = false @post_processors = [Kosmos::PostProcessors::ModuleManagerResolver] @output_method = Proc.new { |str| puts str } end |
Instance Attribute Details
#output_method ⇒ Object
Returns the value of attribute output_method.
64 65 66 |
# File 'lib/kosmos.rb', line 64 def output_method @output_method end |
#post_processors ⇒ Object
Returns the value of attribute post_processors.
64 65 66 |
# File 'lib/kosmos.rb', line 64 def post_processors @post_processors end |
#verbose ⇒ Object
Returns the value of attribute verbose.
64 65 66 |
# File 'lib/kosmos.rb', line 64 def verbose @verbose end |