Class: RbsGoose::Configuration::TemplateConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/rbs_goose/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#example_groupsObject

Returns the value of attribute example_groups

Returns:

  • (Object)

    the current value of example_groups



13
14
15
# File 'lib/rbs_goose/configuration.rb', line 13

def example_groups
  @example_groups
end

#instructionObject

Returns the value of attribute instruction

Returns:

  • (Object)

    the current value of instruction



13
14
15
# File 'lib/rbs_goose/configuration.rb', line 13

def instruction
  @instruction
end

#template_classObject

Returns the value of attribute template_class

Returns:

  • (Object)

    the current value of template_class



13
14
15
# File 'lib/rbs_goose/configuration.rb', line 13

def template_class
  @template_class
end

Instance Method Details

#build_templateObject



14
15
16
# File 'lib/rbs_goose/configuration.rb', line 14

def build_template
  template_class.new(instruction:, example_groups:)
end