Class: Plist::StreamParser::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::StreamParser::PTag

Instance Method Details

#to_rubyObject



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

def to_ruby
  DateTime.parse(text)
end