Class: Plain::Configuration
- Inherits:
-
Object
- Object
- Plain::Configuration
- Defined in:
- lib/plain/configuration.rb
Instance Attribute Summary collapse
-
#chat_environments ⇒ Object
Returns the value of attribute chat_environments.
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#vector_search ⇒ Object
Returns the value of attribute vector_search.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 |
# File 'lib/plain/configuration.rb', line 6 def initialize @paths = [] @chat_environments = [] @vector_search = nil @extensions = ["rb", "js", "erb", "md", "json"] end |
Instance Attribute Details
#chat_environments ⇒ Object
Returns the value of attribute chat_environments.
3 4 5 |
# File 'lib/plain/configuration.rb', line 3 def chat_environments @chat_environments end |
#extensions ⇒ Object
Returns the value of attribute extensions.
3 4 5 |
# File 'lib/plain/configuration.rb', line 3 def extensions @extensions end |
#paths ⇒ Object
Returns the value of attribute paths.
3 4 5 |
# File 'lib/plain/configuration.rb', line 3 def paths @paths end |
#vector_search ⇒ Object
Returns the value of attribute vector_search.
3 4 5 |
# File 'lib/plain/configuration.rb', line 3 def vector_search @vector_search end |