Class: Oselvar::Var::Core::PlannedExample

Inherits:
Data
  • Object
show all
Defined in:
lib/oselvar/var/core/plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, scope_stack:, span:, steps:, header_binding: nil, row_checks: nil, expected_outcome: nil, expected_error_message: nil) ⇒ PlannedExample

Returns a new instance of PlannedExample.



27
28
29
30
# File 'lib/oselvar/var/core/plan.rb', line 27

def initialize(name:, scope_stack:, span:, steps:, header_binding: nil, row_checks: nil,
               expected_outcome: nil, expected_error_message: nil)
  super
end

Instance Attribute Details

#expected_error_messageObject (readonly)

Returns the value of attribute expected_error_message

Returns:

  • (Object)

    the current value of expected_error_message



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def expected_error_message
  @expected_error_message
end

#expected_outcomeObject (readonly)

Returns the value of attribute expected_outcome

Returns:

  • (Object)

    the current value of expected_outcome



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def expected_outcome
  @expected_outcome
end

#header_bindingObject (readonly)

Returns the value of attribute header_binding

Returns:

  • (Object)

    the current value of header_binding



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def header_binding
  @header_binding
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def name
  @name
end

#row_checksObject (readonly)

Returns the value of attribute row_checks

Returns:

  • (Object)

    the current value of row_checks



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def row_checks
  @row_checks
end

#scope_stackObject (readonly)

Returns the value of attribute scope_stack

Returns:

  • (Object)

    the current value of scope_stack



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def scope_stack
  @scope_stack
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def span
  @span
end

#stepsObject (readonly)

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



25
26
27
# File 'lib/oselvar/var/core/plan.rb', line 25

def steps
  @steps
end