Class: Cylons::LocalRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/cylons/local_registry.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loaded_remotesObject

Returns the value of attribute loaded_remotes.



11
12
13
# File 'lib/cylons/local_registry.rb', line 11

def loaded_remotes
  @loaded_remotes
end

.remotesObject

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_schemasObject



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