Module: Sequel::Plugins::Sharding::InstanceMethods
- Defined in:
- lib/sequel/plugins/sharding.rb
Instance Method Summary collapse
- 
  
    
      #set_server?(s)  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    Set the server that this object is tied to, unless it has already been set. 
Instance Method Details
#set_server?(s) ⇒ Boolean
Set the server that this object is tied to, unless it has already been set. Returns self.
| 68 69 70 71 | # File 'lib/sequel/plugins/sharding.rb', line 68 def set_server?(s) @server ||= s self end |