Module: Ryb::Properties::Dependencies::InstanceMethods

Defined in:
lib/ryb/properties/dependencies.rb

Instance Method Summary collapse

Instance Method Details

#add_dependency(dependency) ⇒ Object



12
13
14
# File 'lib/ryb/properties/dependencies.rb', line 12

def add_dependency(dependency)
  dependencies.push(*dependency)
end

#dependenciesObject



8
9
10
# File 'lib/ryb/properties/dependencies.rb', line 8

def dependencies
  @dependencies ||= []
end