Class: Depdump::Configurable::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
29
# File 'lib/depdump/configurable.rb', line 26

def initialize
  @output = $stdout
  @formatter = Depdump::DependencyGraph::Formatter::Json.new
end

Instance Attribute Details

#formatterObject

Returns the value of attribute formatter.



24
25
26
# File 'lib/depdump/configurable.rb', line 24

def formatter
  @formatter
end

#outputObject

Returns the value of attribute output.



23
24
25
# File 'lib/depdump/configurable.rb', line 23

def output
  @output
end