Class: Plist::PDate

Inherits:
PTag
  • Object
show all
Defined in:
lib/searchlink/plist.rb

Instance Attribute Summary

Attributes inherited from PTag

#children, #text

Instance Method Summary collapse

Methods inherited from PTag

inherited, #initialize, mappings

Constructor Details

This class inherits a constructor from Plist::PTag

Instance Method Details

#to_rubyObject



185
186
187
# File 'lib/searchlink/plist.rb', line 185

def to_ruby
  DateTime.parse(text)
end