Class: Assignment

Inherits:
Object
  • Object
show all
Defined in:
lib/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAssignment

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

#assignedObject

Returns the value of attribute assigned.



525
526
527
# File 'lib/context.rb', line 525

def assigned
  @assigned
end

#audience_mismatchObject

Returns the value of attribute audience_mismatch.



525
526
527
# File 'lib/context.rb', line 525

def audience_mismatch
  @audience_mismatch
end

#customObject

Returns the value of attribute custom.



525
526
527
# File 'lib/context.rb', line 525

def custom
  @custom
end

#eligibleObject

Returns the value of attribute eligible.



525
526
527
# File 'lib/context.rb', line 525

def eligible
  @eligible
end

#exposedObject

Returns the value of attribute exposed.



525
526
527
# File 'lib/context.rb', line 525

def exposed
  @exposed
end

#full_onObject

Returns the value of attribute full_on.



525
526
527
# File 'lib/context.rb', line 525

def full_on
  @full_on
end

#full_on_variantObject

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

#idObject

Returns the value of attribute id.



525
526
527
# File 'lib/context.rb', line 525

def id
  @id
end

#iterationObject

Returns the value of attribute iteration.



525
526
527
# File 'lib/context.rb', line 525

def iteration
  @iteration
end

#nameObject

Returns the value of attribute name.



525
526
527
# File 'lib/context.rb', line 525

def name
  @name
end

#overriddenObject

Returns the value of attribute overridden.



525
526
527
# File 'lib/context.rb', line 525

def overridden
  @overridden
end

#traffic_splitObject

Returns the value of attribute traffic_split.



525
526
527
# File 'lib/context.rb', line 525

def traffic_split
  @traffic_split
end

#unit_typeObject

Returns the value of attribute unit_type.



525
526
527
# File 'lib/context.rb', line 525

def unit_type
  @unit_type
end

#variablesObject

Returns the value of attribute variables.



525
526
527
# File 'lib/context.rb', line 525

def variables
  @variables
end

#variantObject

Returns the value of attribute variant.



525
526
527
# File 'lib/context.rb', line 525

def variant
  @variant
end