Sha256: f201e1d575423ac3ca551c2dd4575fa9d751f10fec47eb7a2dcbb80323ef16e8
Contents?: true
Size: 433 Bytes
Versions: 16
Compression:
Stored size: 433 Bytes
Contents
module EndState class Guard include Messages attr_reader :object, :state, :params def initialize(object, state, params) @object = object @state = state @params = params end def allowed? will_allow?.tap do |result| failed unless result passed if result end end def will_allow? false end def passed end def failed end end end
Version data entries
16 entries across 16 versions & 1 rubygems