Class: Yoshinon::Deshite

Inherits:
Object
  • Object
show all
Defined in:
lib/yoshinon/deshite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeshite

Returns a new instance of Deshite.



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

def initialize
  @caller = Kernel.caller.freeze
end

Instance Attribute Details

#callerObject (readonly)

Returns the value of attribute caller.



5
6
7
# File 'lib/yoshinon/deshite.rb', line 5

def caller
  @caller
end

Instance Method Details

#unlockObject



11
12
13
# File 'lib/yoshinon/deshite.rb', line 11

def unlock
  Yoshinon.unlock(self)
end