Class: Cylons::LocalRegistry
- Inherits:
-
Object
- Object
- Cylons::LocalRegistry
- Defined in:
- lib/cylons/local_registry.rb
Class Attribute Summary collapse
-
.loaded_remotes ⇒ Object
Returns the value of attribute loaded_remotes.
-
.remotes ⇒ Object
Returns the value of attribute remotes.
Class Method Summary collapse
Class Attribute Details
.loaded_remotes ⇒ Object
Returns the value of attribute loaded_remotes.
11 12 13 |
# File 'lib/cylons/local_registry.rb', line 11 def loaded_remotes @loaded_remotes end |
.remotes ⇒ Object
Returns the value of attribute remotes.
11 12 13 |
# File 'lib/cylons/local_registry.rb', line 11 def remotes @remotes end |
Class Method Details
.register(klass) ⇒ Object
14 15 16 |
# File 'lib/cylons/local_registry.rb', line 14 def self.register(klass) @remotes << klass end |
.register_remote_schemas ⇒ Object
18 19 20 21 22 |
# File 'lib/cylons/local_registry.rb', line 18 def self.register_remote_schemas @remotes.each do |remote| ::Cylons::RemoteRegistry.register_remote_schema(remote) end end |