Class: Agent
- Inherits:
-
Object
- Object
- Agent
- Defined in:
- lib/cirrocumulus/identifier.rb
Overview
Syntax sugar for agent identifiers.
Class Method Summary collapse
- .all ⇒ Object
- .local(instance_name) ⇒ Object
- .network(ontology_name) ⇒ Object
- .remote(agent_identifier) ⇒ Object
Class Method Details
.all ⇒ Object
13 14 15 |
# File 'lib/cirrocumulus/identifier.rb', line 13 def self.all WholeOntologyIdentifier.new end |
.local(instance_name) ⇒ Object
5 6 7 |
# File 'lib/cirrocumulus/identifier.rb', line 5 def self.local(instance_name) LocalIdentifier.new(instance_name) end |
.network(ontology_name) ⇒ Object
9 10 11 |
# File 'lib/cirrocumulus/identifier.rb', line 9 def self.network(ontology_name) JabberIdentifier.new(ontology_name) end |
.remote(agent_identifier) ⇒ Object
17 18 19 |
# File 'lib/cirrocumulus/identifier.rb', line 17 def self.remote(agent_identifier) RemoteIdentifier.new(agent_identifier) end |