Method: DWML::ParameterExtractor#initialize
- Defined in:
- lib/dwml/parameter_extractor.rb
#initialize(element, location, time_layouts) ⇒ ParameterExtractor
Returns a new instance of ParameterExtractor.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/dwml/parameter_extractor.rb', line 5 def initialize(element, location, time_layouts) @element = element @location = location @time_layouts = time_layouts @output = { :latitude => location.latitude, :longitude => location.longitude } end |