Class: Dustbag::Dimension
- Inherits:
-
Object
- Object
- Dustbag::Dimension
show all
- Includes:
- Parser::Node
- Defined in:
- lib/dustbag/dimension.rb
Instance Attribute Summary
Attributes included from Parser::Node
#node, #subnodes
Instance Method Summary
collapse
included, #initialize, #repeated_subnodes, #repeated_subnodes_text, #subnode, #subnode_text
Instance Method Details
#units ⇒ Object
9
10
11
|
# File 'lib/dustbag/dimension.rb', line 9
def units
attributes[:Units]
end
|
#value ⇒ Object
5
6
7
|
# File 'lib/dustbag/dimension.rb', line 5
def value
text.to_i
end
|