Module: UserSwitch

Defined in:
lib/user_switch.rb,
lib/user_switch/rails.rb,
lib/user_switch/version.rb,
lib/user_switch/extension.rb,
lib/generators/user_switch/install_generator.rb

Defined Under Namespace

Modules: Generators, Panel Classes: Engine, UserSwitchController

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (UserSwitch)

    the object that the method was called on



7
8
9
# File 'lib/user_switch.rb', line 7

def self.setup
  yield self
end