Class: Wewoo::Element
- Inherits:
-
Object
- Object
- Wewoo::Element
- Defined in:
- lib/wewoo/element.rb
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#properties ⇒ Object
(also: #props)
Returns the value of attribute properties.
Instance Method Summary collapse
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
3 4 5 |
# File 'lib/wewoo/element.rb', line 3 def graph @graph end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/wewoo/element.rb', line 3 def id @id end |
#properties ⇒ Object Also known as: props
Returns the value of attribute properties.
4 5 6 |
# File 'lib/wewoo/element.rb', line 4 def properties @properties end |
Instance Method Details
#gid ⇒ Object
8 9 10 |
# File 'lib/wewoo/element.rb', line 8 def gid props.gid end |