Class: Plist::PReal

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



178
179
180
# File 'lib/searchlink/plist.rb', line 178

def to_ruby
  text.to_f
end