Module: Remarkable::ActiveRecord

Defined in:
lib/remarkable_activerecord/base.rb,
lib/remarkable_activerecord/describe.rb,
lib/remarkable_activerecord/matchers/have_index_matcher.rb,
lib/remarkable_activerecord/matchers/have_scope_matcher.rb,
lib/remarkable_activerecord/matchers/association_matcher.rb,
lib/remarkable_activerecord/matchers/have_column_matcher.rb,
lib/remarkable_activerecord/matchers/allow_values_for_matcher.rb,
lib/remarkable_activerecord/matchers/have_default_scope_matcher.rb,
lib/remarkable_activerecord/matchers/validate_length_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_associated_matcher.rb,
lib/remarkable_activerecord/matchers/validate_presence_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_exclusion_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_inclusion_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_acceptance_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_uniqueness_of_matcher.rb,
lib/remarkable_activerecord/matchers/allow_mass_assignment_of_matcher.rb,
lib/remarkable_activerecord/matchers/have_readonly_attributes_matcher.rb,
lib/remarkable_activerecord/matchers/validate_confirmation_of_matcher.rb,
lib/remarkable_activerecord/matchers/validate_numericality_of_matcher.rb,
lib/remarkable_activerecord/matchers/accept_nested_attributes_for_matcher.rb

Defined Under Namespace

Modules: Describe, Matchers Classes: Base

Class Method Summary collapse

Class Method Details

.after_include(target) ⇒ Object

:nodoc:



4
5
6
7
# File 'lib/remarkable_activerecord/describe.rb', line 4

def self.after_include(target) #:nodoc:
  target.class_inheritable_reader :describe_subject_attributes, :default_subject_attributes
  target.send :include, Describe
end