Module: UU::Remotable
- Defined in:
- lib/uu/remotable.rb
Class Method Summary collapse
- .included(mod) ⇒ Object
-
.server ⇒ Object
Returns the value of attribute server.
-
.server=(value) ⇒ Object
Sets the attribute server.
Class Method Details
.included(mod) ⇒ Object
7 8 9 |
# File 'lib/uu/remotable.rb', line 7 def self.included(mod) mod.include(DRb::DRbUndumped) if server end |
.server ⇒ Object
Returns the value of attribute server.
11 12 13 |
# File 'lib/uu/remotable.rb', line 11 def server @server end |
.server=(value) ⇒ Object
Sets the attribute server
11 12 13 |
# File 'lib/uu/remotable.rb', line 11 def server=(value) @server = value end |