class Berater::Inhibitor

Public Class Methods

new(key = :inhibitor, *args, **opts) click to toggle source
Calls superclass method
# File lib/berater/inhibitor.rb, line 4
def initialize(key = :inhibitor, *args, **opts)
  super(key, 0, **opts)
end

Public Instance Methods

to_s() click to toggle source
# File lib/berater/inhibitor.rb, line 8
def to_s
  "#<#{self.class}>"
end

Protected Instance Methods

acquire_lock(*) click to toggle source
# File lib/berater/inhibitor.rb, line 12
          def acquire_lock(*)
  raise Overloaded
end