Sha256: 431a7c5fb1b9623b4dd6996f87af0c0aaa4c8d2f6ba60bc5b76161711a93c062
Contents?: true
Size: 199 Bytes
Versions: 2
Compression:
Stored size: 199 Bytes
Contents
module Seory module Condition class Block def initialize(block) @block = block end def match?(controller) @block.call(controller) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seory-0.2.0 | lib/seory/condition/block.rb |
seory-0.1.0 | lib/seory/condition/block.rb |