Module: SwitchUser

Defined in:
lib/switch_user.rb,
lib/switch_user/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (SwitchUser)

    the object that the method was called on



35
36
37
# File 'lib/switch_user.rb', line 35

def self.setup
  yield self
end