Class: Yarnlock::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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.expand_path '../../scripts', __dir__
  @return_collection = true
end

Instance Attribute Details

#node_pathObject

Returns the value of attribute node_path.



5
6
7
# File 'lib/yarnlock/config.rb', line 5

def node_path
  @node_path
end

#return_collectionObject

Returns the value of attribute return_collection.



5
6
7
# File 'lib/yarnlock/config.rb', line 5

def return_collection
  @return_collection
end

#script_dirObject

Returns the value of attribute script_dir.



5
6
7
# File 'lib/yarnlock/config.rb', line 5

def script_dir
  @script_dir
end