Module: Dart::NamingConventions::AssociationHelpers

Included in:
ManyToManyAssociationHelpers, ManyToOneAssociationHelpers, OneToManyAssociationHelpers
Defined in:
lib/dart/naming_conventions/association_helpers.rb

Instance Method Summary collapse

Instance Method Details

#naming_conventionsObject



7
8
9
# File 'lib/dart/naming_conventions/association_helpers.rb', line 7

def naming_conventions
  Dart::NamingConventions.instance or fail "naming conventions have not been configured"
end

#set_conventional_name!Object



11
12
13
# File 'lib/dart/naming_conventions/association_helpers.rb', line 11

def set_conventional_name!
  set_name! conventional_name
end