Class: Yarnlock::Config
- Inherits:
-
Object
- Object
- Yarnlock::Config
- Defined in:
- lib/yarnlock/config.rb
Instance Attribute Summary collapse
-
#node_path ⇒ Object
Returns the value of attribute node_path.
-
#return_collection ⇒ Object
Returns the value of attribute return_collection.
-
#script_dir ⇒ Object
Returns the value of attribute script_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/yarnlock/config.rb', line 7 def initialize @node_path = 'node' @script_dir = File. '../../scripts', __dir__ @return_collection = true end |
Instance Attribute Details
#node_path ⇒ Object
Returns the value of attribute node_path.
5 6 7 |
# File 'lib/yarnlock/config.rb', line 5 def node_path @node_path end |
#return_collection ⇒ Object
Returns the value of attribute return_collection.
5 6 7 |
# File 'lib/yarnlock/config.rb', line 5 def return_collection @return_collection end |
#script_dir ⇒ Object
Returns the value of attribute script_dir.
5 6 7 |
# File 'lib/yarnlock/config.rb', line 5 def script_dir @script_dir end |