lib/rails_erd/domain/entity.rb in rails-erd-1.2.1 vs lib/rails_erd/domain/entity.rb in rails-erd-1.2.2
- old
+ new
@@ -28,10 +28,10 @@
attr_reader :domain
# The Active Record model that this entity corresponds to.
attr_reader :model
- # The name of this entity. Equal to the class name of the corersponding
+ # The name of this entity. Equal to the class name of the corresponding
# model (for concrete entities) or given name (for abstract entities).
attr_reader :name
def initialize(domain, name, model = nil) # @private :nodoc:
@domain, @name, @model = domain, name, model