Flowdock
method

include?

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Clusivity
include?(record, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/clusivity.rb, line 17
      def include?(record, value)
        members = if delimiter.respond_to?(:call)
                    delimiter.call(record)
                  elsif delimiter.respond_to?(:to_sym)
                    record.send(delimiter)
                  else
                    delimiter
                  end

        members.send(inclusion_method(members), value)
      end
Register or log in to add new notes.