Class: Frodo::Properties::Single
- Inherits:
-
Float
- Object
- Frodo::Property
- Float
- Frodo::Properties::Single
- Defined in:
- lib/frodo/properties/float.rb
Overview
Defines the Single (Float) Frodo type.
Instance Attribute Summary
Attributes inherited from Frodo::Property
Instance Method Summary collapse
-
#type ⇒ Object
The Frodo type name.
-
#url_value ⇒ String
Value to be used in URLs.
Methods inherited from Float
Methods inherited from Frodo::Property
#==, #allows_nil?, #concurrency_mode, from_xml, #initialize, #json_value, #strict?, #to_xml, #xml_value
Constructor Details
This class inherits a constructor from Frodo::Property
Instance Method Details
#type ⇒ Object
The Frodo type name
46 47 48 |
# File 'lib/frodo/properties/float.rb', line 46 def type 'Edm.Single' end |
#url_value ⇒ String
Value to be used in URLs.
52 53 54 |
# File 'lib/frodo/properties/float.rb', line 52 def url_value "#{value}F" end |