Class: Vedeu::Registrar Private
- Inherits:
-
Object
- Object
- Vedeu::Registrar
- Includes:
- Common
- Defined in:
- lib/vedeu/support/registrar.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
When the client application has defined interfaces to be used, the Registrar stores these interfaces into various repositories for later use.
Instance Attribute Summary collapse
- #attributes ⇒ Object readonly private private
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(attributes = {}) ⇒ Registrar constructor private
-
#record ⇒ TrueClass|MissingRequired
private
Adds the attributes to a variety of repositories to use later.
Methods included from Common
Constructor Details
#initialize(attributes = {}) ⇒ Registrar
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/vedeu/support/registrar.rb', line 19 def initialize(attributes = {}) @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly, private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 43 44 |
# File 'lib/vedeu/support/registrar.rb', line 42 def attributes @attributes end |
Class Method Details
.record(attributes = {}) ⇒ TrueClass|
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/vedeu/support/registrar.rb', line 13 def self.record(attributes = {}) new(attributes).record end |
Instance Method Details
#record ⇒ TrueClass|MissingRequired
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Adds the attributes to a variety of repositories to use later.
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/vedeu/support/registrar.rb', line 26 def record Vedeu::Buffers.add(attributes) Vedeu::Interfaces.add(attributes) Vedeu::Cursors.add(attributes) Vedeu::Groups.add(attributes) Vedeu::Focus.add(attributes) true end |