Method: Freely::Dependency#initialize
- Defined in:
- lib/freely/dependency.rb
#initialize(path) ⇒ Dependency
Returns a new instance of Dependency.
8 9 10 11 12 |
# File 'lib/freely/dependency.rb', line 8 def initialize path @path = path @name = Tools.read_name path @dependencies = Tools.fyi(Dependency.from_path @path) end |