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.
67 68 69 70 71 |
# File 'lib/kosmos.rb', line 67 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.
65 66 67 |
# File 'lib/kosmos.rb', line 65 def output_method @output_method end |
#post_processors ⇒ Object
Returns the value of attribute post_processors.
65 66 67 |
# File 'lib/kosmos.rb', line 65 def post_processors @post_processors end |
#verbose ⇒ Object
Returns the value of attribute verbose.
65 66 67 |
# File 'lib/kosmos.rb', line 65 def verbose @verbose end |