Class: YDIM::Html::Util::Server
- Inherits:
-
SBSM::DRbServer
- Object
- SBSM::DRbServer
- YDIM::Html::Util::Server
- Defined in:
- lib/ydim/html/util/server.rb
Constant Summary collapse
Instance Method Summary collapse
-
#initialize(server) ⇒ Server
constructor
A new instance of Server.
- #login(email, pass_hash) ⇒ Object
- #method_missing(meth, *args) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/ydim/html/util/server.rb', line 25 def method_missing(meth, *args) @system.login(@server, @private_key) begin @system.send(meth, *args) ensure @system.logout end end |