Class: Depdump::Configurable::Configuration
- Inherits:
-
Object
- Object
- Depdump::Configurable::Configuration
- Defined in:
- lib/depdump/configurable.rb
Instance Attribute Summary collapse
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#formatter ⇒ Object
Returns the value of attribute formatter.
24 25 26 |
# File 'lib/depdump/configurable.rb', line 24 def formatter @formatter end |
#output ⇒ Object
Returns the value of attribute output.
23 24 25 |
# File 'lib/depdump/configurable.rb', line 23 def output @output end |