Class: Bake::LibElement

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



11
12
13
# File 'lib/bake/libElement.rb', line 11

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value.



11
12
13
# File 'lib/bake/libElement.rb', line 11

def value
  @value
end