Class: RailsAppGenerator::RagConfiguration
- Inherits:
-
Object
- Object
- RailsAppGenerator::RagConfiguration
- Defined in:
- lib/rails_app_generator/configuration/rag_configuration.rb
Overview
Structure for storing Rails Application Generator configuration
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
include KLog::Logging.
Instance Method Summary collapse
- #add_option(name, **args) ⇒ Object
-
#initialize ⇒ RagConfiguration
constructor
A new instance of RagConfiguration.
Constructor Details
#initialize ⇒ RagConfiguration
Returns a new instance of RagConfiguration.
10 11 12 |
# File 'lib/rails_app_generator/configuration/rag_configuration.rb', line 10 def initialize @options = [] end |
Instance Attribute Details
#options ⇒ Object (readonly)
include KLog::Logging
8 9 10 |
# File 'lib/rails_app_generator/configuration/rag_configuration.rb', line 8 def @options end |
Instance Method Details
#add_option(name, **args) ⇒ Object
14 15 16 |
# File 'lib/rails_app_generator/configuration/rag_configuration.rb', line 14 def add_option(name, **args) @options << RailsAppGenerator::BuildOption.new(name, **args) end |