Class: Rox::Server::RoxFlag

Inherits:
Core::Flag show all
Defined in:
lib/rox/server/flags/rox_flag.rb

Constant Summary

Constants inherited from Core::Flag

Core::Flag::FLAG_FALSE_VALUE, Core::Flag::FLAG_TRUE_VALUE

Instance Attribute Summary

Attributes inherited from Core::RoxString

#client_experiment, #condition, #default_value, #impression_invoker, #name, #options, #parser

Instance Method Summary collapse

Methods inherited from Core::Flag

#external_type, #initialize, #internal_enabled?, #value

Methods inherited from Core::RoxString

#external_type, #initialize, #internal_value, #send_impressions, #set_for_evaluation, #value

Constructor Details

This class inherits a constructor from Rox::Core::Flag

Instance Method Details

#disabled(context = nil) ⇒ Object



14
15
16
# File 'lib/rox/server/flags/rox_flag.rb', line 14

def disabled(context = nil)
  super(context)
end

#enabled(context = nil) ⇒ Object



10
11
12
# File 'lib/rox/server/flags/rox_flag.rb', line 10

def enabled(context = nil)
  super(context)
end

#enabled?(context = nil) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/rox/server/flags/rox_flag.rb', line 6

def enabled?(context = nil)
  super(context)
end