#call, #initialize
This class inherits a constructor from Chanko::ActiveIf::Block
82 83 84 85 86 87 88
# File 'lib/chanko/active_if.rb', line 82 def block proc do |context, options| @conditions.none? do |condition| Block.new(condition).call(context, options) end end end