Class: Yoshinon::Deshite

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

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

#callerArray[String] (readonly)

Returns the value of attribute caller.

Returns:

  • (Array[String])


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

def caller
  @caller
end

Instance Method Details

#unlockvoid

This method returns an undefined value.



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

def unlock
  Yoshinon.unlock(self)
end