lib/hanami/model/sql/entity/schema.rb in hanami-model-1.1.0.beta1 vs lib/hanami/model/sql/entity/schema.rb in hanami-model-1.1.0.beta2

- old
+ new

@@ -20,11 +20,11 @@ class Schema < Hanami::Entity::Schema # Build a new instance of Schema according to database columns, # associations and potentially to mapping defined by the repository. # # @param registry [Hash] a registry that keeps reference between - # entities klass and their underscored names + # entities class and their underscored names # @param relation [ROM::Relation] the database relation # @param mapping [Hanami::Model::Mapping] the optional repository # mapping # # @return [Hanami::Model::Sql::Entity::Schema] the schema @@ -73,11 +73,11 @@ attr_reader :attributes # Build the schema # # @param registry [Hash] a registry that keeps reference between - # entities klass and their underscored names + # entities class and their underscored names # @param relation [ROM::Relation] the database relation # @param mapping [Hanami::Model::Mapping] the optional repository # mapping # # @return [Dry::Types::Constructor] the inner schema @@ -110,10 +110,10 @@ end # Merge attributes and associations # # @param registry [Hash] a registry that keeps reference between - # entities klass and their underscored names + # entities class and their underscored names # @param associations [ROM::AssociationSet] a set of associations for # the current relation # # @return [Hash] attributes with associations #