Class: Ziya::Maps::Support::Ranges

Inherits:
Base show all
Defined in:
lib/ziya/maps/support/ranges.rb

Instance Method Summary collapse

Methods inherited from Base

#to_comp_yaml

Methods included from YamlHelpers::Gauges

#dial, #dials, #gauge

Methods included from YamlHelpers::Base

#clazz, #indent

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