module Sequel::Plugins::Sharding::InstanceMethods

  1. lib/sequel/plugins/sharding.rb

Methods

Public Instance

  1. set_server?

Public Instance methods

set_server?(s)

Set the server that this object is tied to, unless it has already been set. Returns self.

[show source]
   # File lib/sequel/plugins/sharding.rb
68 def set_server?(s)
69   @server ||= s
70   self
71 end