Module: Serega::SeregaPlugins::Root::ConfigInstanceMethods
- Defined in:
- lib/serega/plugins/root/root.rb
Overview
Serega::SeregaConfig additional/patched class methods
Instance Method Summary collapse
-
#root ⇒ Serega::SeregaPlugins::Root::RootConfig
Current root config.
-
#root=(value) ⇒ void
Set root for one-object and many-objects serialization types.
Instance Method Details
#root ⇒ Serega::SeregaPlugins::Root::RootConfig
Returns current root config.
174 175 176 |
# File 'lib/serega/plugins/root/root.rb', line 174 def root @root ||= RootConfig.new(opts.fetch(:root)) end |