Module: Smartware::Client
- Defined in:
- lib/smartware/client.rb
Constant Summary collapse
- @@instances =
{}
Class Method Summary collapse
Class Method Details
.instance(url) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/smartware/client.rb', line 5 def self.instance(url) if @@instances.include? url @@instances[url] else instance = ::DRbObject.new_with_uri(url) @@instances[url] = instance end end |