Class: PgEventstore::BasicConfig
- Inherits:
-
Object
- Object
- PgEventstore::BasicConfig
- Includes:
- Extensions::OptionsExtension
- Defined in:
- lib/pg_eventstore/basic_config.rb,
sig/pg_eventstore/basic_config.rbs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Symbol
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:) ⇒ BasicConfig
constructor
A new instance of BasicConfig.
Methods included from Extensions::OptionsExtension
included, #init_default_values, #options_hash, #readonly!, #readonly?, #readonly_error
Constructor Details
#initialize(name:) ⇒ BasicConfig
Returns a new instance of BasicConfig.
10 11 12 13 |
# File 'lib/pg_eventstore/basic_config.rb', line 10 def initialize(name:, **) super @name = name end |
Instance Attribute Details
#name ⇒ Symbol (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/pg_eventstore/basic_config.rb', line 7 def name @name end |