Class: Copyable::AssociationChecker

Inherits:
CompletenessChecker show all
Defined in:
lib/copyable/syntax_checking/association_checker.rb

Instance Method Summary collapse

Methods inherited from CompletenessChecker

#initialize, #verify!

Methods included from DeclarationStubber

included

Constructor Details

This class inherits a constructor from Copyable::CompletenessChecker

Instance Method Details

#associations(associations) ⇒ Object



4
5
6
# File 'lib/copyable/syntax_checking/association_checker.rb', line 4

def associations(associations)
  @associations = associations.keys.map(&:to_s)
end