Class: Plist::PInteger

Inherits:
PTag
  • Object
show all
Defined in:
lib/plist/parser.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

- (Object) to_ruby



180
181
182
# File 'lib/plist/parser.rb', line 180

def to_ruby
  text.to_i
end