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.
608 609 610 611 612 613 614 615 616 617 618 619 |
# File 'lib/context.rb', line 608 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.
604 605 606 |
# File 'lib/context.rb', line 604 def assigned @assigned end |
#audience_mismatch ⇒ Object
Returns the value of attribute audience_mismatch.
604 605 606 |
# File 'lib/context.rb', line 604 def audience_mismatch @audience_mismatch end |
#custom ⇒ Object
Returns the value of attribute custom.
604 605 606 |
# File 'lib/context.rb', line 604 def custom @custom end |
#eligible ⇒ Object
Returns the value of attribute eligible.
604 605 606 |
# File 'lib/context.rb', line 604 def eligible @eligible end |
#exposed ⇒ Object
Returns the value of attribute exposed.
604 605 606 |
# File 'lib/context.rb', line 604 def exposed @exposed end |
#full_on ⇒ Object
Returns the value of attribute full_on.
604 605 606 |
# File 'lib/context.rb', line 604 def full_on @full_on end |
#full_on_variant ⇒ Object
Returns the value of attribute full_on_variant.
604 605 606 |
# File 'lib/context.rb', line 604 def full_on_variant @full_on_variant end |
#id ⇒ Object
Returns the value of attribute id.
604 605 606 |
# File 'lib/context.rb', line 604 def id @id end |
#iteration ⇒ Object
Returns the value of attribute iteration.
604 605 606 |
# File 'lib/context.rb', line 604 def iteration @iteration end |
#name ⇒ Object
Returns the value of attribute name.
604 605 606 |
# File 'lib/context.rb', line 604 def name @name end |
#overridden ⇒ Object
Returns the value of attribute overridden.
604 605 606 |
# File 'lib/context.rb', line 604 def overridden @overridden end |
#traffic_split ⇒ Object
Returns the value of attribute traffic_split.
604 605 606 |
# File 'lib/context.rb', line 604 def traffic_split @traffic_split end |
#unit_type ⇒ Object
Returns the value of attribute unit_type.
604 605 606 |
# File 'lib/context.rb', line 604 def unit_type @unit_type end |
#variables ⇒ Object
Returns the value of attribute variables.
604 605 606 |
# File 'lib/context.rb', line 604 def variables @variables end |
#variant ⇒ Object
Returns the value of attribute variant.
604 605 606 |
# File 'lib/context.rb', line 604 def variant @variant end |