Sha256: 82c1c087dc9127f033674ea5a19962b619a510d26222f68b471457f5b7bc4050
Contents?: true
Size: 323 Bytes
Versions: 5
Compression:
Stored size: 323 Bytes
Contents
module God module Conditions class Always < PollCondition attr_accessor :what def valid? valid = true valid &= complain("You must specify the 'what' attribute for :always") if self.what.nil? valid end def test @what end end end end
Version data entries
5 entries across 5 versions & 1 rubygems