Class: Assignment
- Inherits:
-
Object
- Object
- Assignment
- Defined in:
- lib/context.rb
Instance Attribute Summary collapse
-
#assigned ⇒ Object
Returns the value of attribute assigned.
-
#audience_mismatch ⇒ Object
Returns the value of attribute audience_mismatch.
-
#custom ⇒ Object
Returns the value of attribute custom.
-
#eligible ⇒ Object
Returns the value of attribute eligible.
-
#exposed ⇒ Object
Returns the value of attribute exposed.
-
#full_on ⇒ Object
Returns the value of attribute full_on.
-
#full_on_variant ⇒ Object
Returns the value of attribute full_on_variant.
-
#id ⇒ Object
Returns the value of attribute id.
-
#iteration ⇒ Object
Returns the value of attribute iteration.
-
#name ⇒ Object
Returns the value of attribute name.
-
#overridden ⇒ Object
Returns the value of attribute overridden.
-
#traffic_split ⇒ Object
Returns the value of attribute traffic_split.
-
#unit_type ⇒ Object
Returns the value of attribute unit_type.
-
#variables ⇒ Object
Returns the value of attribute variables.
-
#variant ⇒ Object
Returns the value of attribute variant.
Instance Method Summary collapse
-
#initialize ⇒ Assignment
constructor
A new instance of Assignment.
Constructor Details
#initialize ⇒ Assignment
Returns a new instance of Assignment.
529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/context.rb', line 529 def initialize @variant = 0 @iteration = 0 @full_on_variant = 0 @overridden = false @assigned = false @exposed = false @eligible = true @full_on = false @custom = false @audience_mismatch = false end |
Instance Attribute Details
#assigned ⇒ Object
Returns the value of attribute assigned.
525 526 527 |
# File 'lib/context.rb', line 525 def assigned @assigned end |
#audience_mismatch ⇒ Object
Returns the value of attribute audience_mismatch.
525 526 527 |
# File 'lib/context.rb', line 525 def audience_mismatch @audience_mismatch end |
#custom ⇒ Object
Returns the value of attribute custom.
525 526 527 |
# File 'lib/context.rb', line 525 def custom @custom end |
#eligible ⇒ Object
Returns the value of attribute eligible.
525 526 527 |
# File 'lib/context.rb', line 525 def eligible @eligible end |
#exposed ⇒ Object
Returns the value of attribute exposed.
525 526 527 |
# File 'lib/context.rb', line 525 def exposed @exposed end |
#full_on ⇒ Object
Returns the value of attribute full_on.
525 526 527 |
# File 'lib/context.rb', line 525 def full_on @full_on end |
#full_on_variant ⇒ Object
Returns the value of attribute full_on_variant.
525 526 527 |
# File 'lib/context.rb', line 525 def full_on_variant @full_on_variant end |
#id ⇒ Object
Returns the value of attribute id.
525 526 527 |
# File 'lib/context.rb', line 525 def id @id end |
#iteration ⇒ Object
Returns the value of attribute iteration.
525 526 527 |
# File 'lib/context.rb', line 525 def iteration @iteration end |
#name ⇒ Object
Returns the value of attribute name.
525 526 527 |
# File 'lib/context.rb', line 525 def name @name end |
#overridden ⇒ Object
Returns the value of attribute overridden.
525 526 527 |
# File 'lib/context.rb', line 525 def overridden @overridden end |
#traffic_split ⇒ Object
Returns the value of attribute traffic_split.
525 526 527 |
# File 'lib/context.rb', line 525 def traffic_split @traffic_split end |
#unit_type ⇒ Object
Returns the value of attribute unit_type.
525 526 527 |
# File 'lib/context.rb', line 525 def unit_type @unit_type end |
#variables ⇒ Object
Returns the value of attribute variables.
525 526 527 |
# File 'lib/context.rb', line 525 def variables @variables end |
#variant ⇒ Object
Returns the value of attribute variant.
525 526 527 |
# File 'lib/context.rb', line 525 def variant @variant end |