Class: Ziya::Maps::Support::Ranges
- Inherits:
-
Base
- Object
- Charts::Support::Base
- Base
- Ziya::Maps::Support::Ranges
- Defined in:
- lib/ziya/maps/support/ranges.rb
Instance Method Summary collapse
-
#flatten(xml) ⇒ Object
————————————————————————- Dump has_attribute into xml element.
Methods inherited from Base
Methods included from YamlHelpers::Gauges
Methods included from YamlHelpers::Base
Methods inherited from Charts::Support::Base
#==, attributes, #attributes_for, #configured?, has_attribute, #has_sub_components, #initialize, #merge, #options, #options_as_string
Constructor Details
This class inherits a constructor from Ziya::Charts::Support::Base
Instance Method Details
#flatten(xml) ⇒ Object
Dump has_attribute into xml element
11 12 13 14 15 |
# File 'lib/ziya/maps/support/ranges.rb', line 11 def flatten( xml ) ranges.each do |range| range["range"].flatten( xml ) end end |