class ConsoleCreep::Authenticators::Authenticator
Attributes
options[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/console_creep/authenticators/authenticator.rb, line 6 def initialize(options = {}) @options = options end
Public Instance Methods
die()
click to toggle source
# File lib/console_creep/authenticators/authenticator.rb, line 14 def die throw(:halt) end
set_current_user(user)
click to toggle source
# File lib/console_creep/authenticators/authenticator.rb, line 10 def set_current_user(user) IRB.conf[:current_user] = user end