Class: Bundix::Dependency
- Inherits:
-
Bundler::Dependency
- Object
- Bundler::Dependency
- Bundix::Dependency
- Defined in:
- lib/bundix.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name, version, options = {}, &blk) ⇒ Dependency
constructor
A new instance of Dependency.
Constructor Details
#initialize(name, version, options = {}, &blk) ⇒ Dependency
Returns a new instance of Dependency.
25 26 27 28 |
# File 'lib/bundix.rb', line 25 def initialize(name, version, ={}, &blk) super(name, version, , &blk) @bundix_version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
30 31 32 |
# File 'lib/bundix.rb', line 30 def version @version end |