Class: Plist::PDate

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

Instance Attribute Summary

Attributes inherited from PTag

#children, #options, #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



244
245
246
# File 'lib/plist/parser.rb', line 244

def to_ruby
  DateTime.parse(text)
end