Class: TraceLocation::Config
- Inherits:
-
Object
- Object
- TraceLocation::Config
- Defined in:
- lib/trace_location/config.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#current_dir ⇒ Object
Returns the value of attribute current_dir.
-
#default_format ⇒ Object
Returns the value of attribute default_format.
-
#dest_dir ⇒ Object
Returns the value of attribute dest_dir.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 |
# File 'lib/trace_location/config.rb', line 7 def initialize @current_dir = Dir.pwd @dest_dir = Dir.pwd @default_format = :md end |
Instance Attribute Details
#current_dir ⇒ Object
Returns the value of attribute current_dir.
5 6 7 |
# File 'lib/trace_location/config.rb', line 5 def current_dir @current_dir end |
#default_format ⇒ Object
Returns the value of attribute default_format.
5 6 7 |
# File 'lib/trace_location/config.rb', line 5 def default_format @default_format end |
#dest_dir ⇒ Object
Returns the value of attribute dest_dir.
5 6 7 |
# File 'lib/trace_location/config.rb', line 5 def dest_dir @dest_dir end |