Class: Rox::Core::RoxDouble

Inherits:
RoxString show all
Defined in:
lib/rox/core/entities/rox_double.rb

Direct Known Subclasses

Server::RoxDouble

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

#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