Class: Ambling::Data::Point
Overview
<point foo=“bar”> points don’t have values
Instance Attribute Summary
Attributes inherited from BaseValue
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Point
constructor
A new instance of Point.
- #tag_name ⇒ Object
Methods inherited from BaseValue
Constructor Details
#initialize(attributes = {}) ⇒ Point
Returns a new instance of Point.
66 67 68 |
# File 'lib/ambling/data.rb', line 66 def initialize(attributes = {}) @value, @attributes = "", attributes end |
Instance Method Details
#tag_name ⇒ Object
70 71 72 |
# File 'lib/ambling/data.rb', line 70 def tag_name "point" end |