lib/cantango/permit_store/execute/kompiler/statements.rb
def build_statements method, &block
        return nil unless permit_statements?
        yield statements(method) if statements?(method) && block
        statements(method)
      end
# build the 'can' or 'cannot' statements to evaluate
build the 'can' or 'cannot' statements to evaluate
build the ' can ' or ' cannot ' statements to evaluate
def build_statements method, &block
        return nil unless permit_statements?
        yield statements(method) if statements?(method) && block
        statements(method)
      end
def build_statements method , & block return nil unless permit_statements? yield statements ( method ) if statements? ( method ) && block statements ( method ) end
build the 'can' or 'cannot' statements to evaluate
build the ' can ' or ' cannot ' statements to evaluate
method
block