Class: Rox::Core::RoxDouble
- Defined in:
- lib/rox/core/entities/rox_double.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from RoxString
#client_experiment, #condition, #default_value, #impression_invoker, #name, #options, #parser
Instance Method Summary collapse
Methods inherited from RoxString
#initialize, #internal_value, #send_impressions, #set_for_evaluation
Constructor Details
This class inherits a constructor from Rox::Core::RoxString
Instance Method Details
#external_type ⇒ Object
12 13 14 |
# File 'lib/rox/core/entities/rox_double.rb', line 12 def external_type 'Number' end |
#value(context = nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/rox/core/entities/rox_double.rb', line 6 def value(context = nil) return_value = Rox::Server::NormalizeFlagType.normalize_float(internal_value(context, false, Float)) send_impressions(return_value, context) return_value end |