Class WeatherHacks::LWWS::PinpointLocation
In: lib/weatherhacks/lwws.rb
Parent: Object

Methods

new  

Attributes

link  [R] 
publictime  [R] 
title  [R] 

Public Class methods

[Source]

     # File lib/weatherhacks/lwws.rb, line 95
 95:     def initialize(elt)
 96:       raise ArgumentError, elt unless elt.kind_of? REXML::Element
 97:       @title = elt.elements["title"].text
 98:       @link = URI.parse(elt.elements["link"].text)
 99:       @publictime = Time.parse(elt.elements["publictime"].text)
100:     end

[Validate]