Class: YMaps::ActionView::Builder
- Inherits:
-
Object
- Object
- YMaps::ActionView::Builder
- Defined in:
- lib/ymaps/action_view/ymapsml_helper.rb
Direct Known Subclasses
Constant Summary collapse
- YMAPS_TAG_NAMES =
[:GeoObject, :GeoObjectCollection, :style, :ymaps, :AnyMetaData]
- GML_TAG_NAMES =
[:boundedBy, :description, :Envelope, :exterior, :featureMember, :featureMembers, :interior, :LineString, :LinearRing, :lowerCorner, :metaDataProperty, :name, :Point, :Polygon, :pos, :posList, :upperCorner]
- REPR_TAG_NAMES =
[:balloonContentStyle, :fill, :fillColor, :hintContentStyle, :iconContentStyle, :lineStyle, :href, :iconStyle, :mapType, :offset, :outline, :parentStyle, :polygonStyle, :Representation, :shadow, :size, :strokeColor, :strokeWidth, :Style, :Template, :template, :text, :View]
Instance Method Summary collapse
-
#initialize(xml) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(xml) ⇒ Builder
Returns a new instance of Builder.
37 38 39 |
# File 'lib/ymaps/action_view/ymapsml_helper.rb', line 37 def initialize(xml) @xml = xml end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *arguments, &block) ⇒ Object (private)
51 52 53 |
# File 'lib/ymaps/action_view/ymapsml_helper.rb', line 51 def method_missing(method, *arguments, &block) prefixed_method(method, *arguments, &block) end |