Class: DoorMat::Crypto::SkipCallback

Inherits:
Object
  • Object
show all
Defined in:
lib/door_mat/crypto.rb

Instance Method Summary collapse

Constructor Details

#initializeSkipCallback

Returns a new instance of SkipCallback.



34
35
36
# File 'lib/door_mat/crypto.rb', line 34

def initialize
  @skip = false
end

Instance Method Details

#resetObject



43
44
45
# File 'lib/door_mat/crypto.rb', line 43

def reset
  @skip = false
end

#skip!Object



40
41
42
# File 'lib/door_mat/crypto.rb', line 40

def skip!
  @skip = true
end

#skip?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/door_mat/crypto.rb', line 37

def skip?
  @skip
end