Class: Kosmos::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kosmos.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_methodObject

Returns the value of attribute output_method.



65
66
67
# File 'lib/kosmos.rb', line 65

def output_method
  @output_method
end

#post_processorsObject

Returns the value of attribute post_processors.



65
66
67
# File 'lib/kosmos.rb', line 65

def post_processors
  @post_processors
end

#verboseObject

Returns the value of attribute verbose.



65
66
67
# File 'lib/kosmos.rb', line 65

def verbose
  @verbose
end