Class: Ambling::Data::Point

Inherits:
BaseValue show all
Defined in:
lib/ambling/data.rb

Overview

<point foo=“bar”> points don’t have values

Instance Attribute Summary

Attributes inherited from BaseValue

#attributes, #value

Instance Method Summary collapse

Methods inherited from BaseValue

#build_xml, #to_xml

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_nameObject



70
71
72
# File 'lib/ambling/data.rb', line 70

def tag_name
  "point"
end