Class: Bake::LibElement
- Inherits:
-
Object
- Object
- Bake::LibElement
- Defined in:
- lib/bake/libElement.rb
Constant Summary collapse
- LIB =
1
- USERLIB =
2
- LIB_WITH_PATH =
3
- SEARCH_PATH =
4
- DEPENDENCY =
5
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, value) ⇒ LibElement
constructor
A new instance of LibElement.
Constructor Details
#initialize(type, value) ⇒ LibElement
Returns a new instance of LibElement.
13 14 15 16 |
# File 'lib/bake/libElement.rb', line 13 def initialize(type, value) @type = type @value = value end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/bake/libElement.rb', line 11 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
11 12 13 |
# File 'lib/bake/libElement.rb', line 11 def value @value end |