#call, #initialize
This class inherits a constructor from Chanko::ActiveIf::Block
72 73 74 75 76 77 78
# File 'lib/chanko/active_if.rb', line 72 def block proc do |context, options| @conditions.any? do |condition| Block.new(condition).call(context, options) end end end