module Freno::Client::Preconditions

Constants

PreconditionNotMet

Public Instance Methods

check(&block) click to toggle source
# File lib/freno/client/preconditions.rb, line 28
def check(&block)
  checker = Checker.new
  checker.instance_eval(&block)
  checker.report
end