Class: RbsGoose::Configuration::TemplateConfig
- Inherits:
-
Struct
- Object
- Struct
- RbsGoose::Configuration::TemplateConfig
- Defined in:
- lib/rbs_goose/configuration.rb
Instance Attribute Summary collapse
-
#example_groups ⇒ Object
Returns the value of attribute example_groups.
-
#instruction ⇒ Object
Returns the value of attribute instruction.
-
#template_class ⇒ Object
Returns the value of attribute template_class.
Instance Method Summary collapse
Instance Attribute Details
#example_groups ⇒ Object
Returns the value of attribute example_groups
13 14 15 |
# File 'lib/rbs_goose/configuration.rb', line 13 def example_groups @example_groups end |
#instruction ⇒ Object
Returns the value of attribute instruction
13 14 15 |
# File 'lib/rbs_goose/configuration.rb', line 13 def instruction @instruction end |
#template_class ⇒ Object
Returns the value of attribute template_class
13 14 15 |
# File 'lib/rbs_goose/configuration.rb', line 13 def template_class @template_class end |
Instance Method Details
#build_template ⇒ Object
14 15 16 |
# File 'lib/rbs_goose/configuration.rb', line 14 def build_template template_class.new(instruction:, example_groups:) end |