Class: Varar::Core::PlannedStep

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text:, match_span:, param_spans:, step_def:, args:, formats: [], data_table: nil, doc_string: nil) ⇒ PlannedStep

Returns a new instance of PlannedStep.



16
17
18
19
# File 'lib/varar/core/plan.rb', line 16

def initialize(text:, match_span:, param_spans:, step_def:, args:, formats: [], data_table: nil,
               doc_string: nil)
  super
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def args
  @args
end

#data_tableObject (readonly)

Returns the value of attribute data_table

Returns:

  • (Object)

    the current value of data_table



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def data_table
  @data_table
end

#doc_stringObject (readonly)

Returns the value of attribute doc_string

Returns:

  • (Object)

    the current value of doc_string



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def doc_string
  @doc_string
end

#formatsObject (readonly)

Returns the value of attribute formats

Returns:

  • (Object)

    the current value of formats



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def formats
  @formats
end

#match_spanObject (readonly)

Returns the value of attribute match_span

Returns:

  • (Object)

    the current value of match_span



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def match_span
  @match_span
end

#param_spansObject (readonly)

Returns the value of attribute param_spans

Returns:

  • (Object)

    the current value of param_spans



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def param_spans
  @param_spans
end

#step_defObject (readonly)

Returns the value of attribute step_def

Returns:

  • (Object)

    the current value of step_def



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def step_def
  @step_def
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



14
15
16
# File 'lib/varar/core/plan.rb', line 14

def text
  @text
end