Sha256: ab695b81d77bc4f5f00e90430a56b5f376fd80399671960caa4bcc31f4a2d165
Contents?: true
Size: 243 Bytes
Versions: 8
Compression:
Stored size: 243 Bytes
Contents
# frozen_string_literal: true require_relative "callback" require_relative "exceptions" module Statesman class Guard < Callback def call(*args) raise GuardFailedError.new(from, to, callback) unless super(*args) end end end
Version data entries
8 entries across 8 versions & 1 rubygems