Sha256: 933b08c81d99d342bc6f125ce41212c1e59f5fa66bd0360a0a38054f5e172ab9

Contents?: true

Size: 280 Bytes

Versions: 11

Compression:

Stored size: 280 Bytes

Contents

module Copyable
  module Declarations

    ALL = [ DisableAllCallbacksAndObserversExceptValidate,
            Columns,
            Associations,
            AfterCopy ]

    def self.include?(method_name)
      ALL.map(&:method_name).include?(method_name.to_s)
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
copyable-0.3.5 lib/copyable/declarations/declarations.rb
copyable-0.3.3 lib/copyable/declarations/declarations.rb
copyable-0.3.2 lib/copyable/declarations/declarations.rb
copyable-0.3.1 lib/copyable/declarations/declarations.rb
copyable-0.3.0 lib/copyable/declarations/declarations.rb
copyable-0.2.0 lib/copyable/declarations/declarations.rb
copyable-0.1.2 lib/copyable/declarations/declarations.rb
copyable-0.1.1 lib/copyable/declarations/declarations.rb
copyable-0.1.0 lib/copyable/declarations/declarations.rb
copyable-0.0.2 lib/copyable/declarations/declarations.rb
copyable-0.0.1 lib/copyable/declarations/declarations.rb