lib/rails_erd/domain/entity.rb in rails-erd-1.5.2 vs lib/rails_erd/domain/entity.rb in rails-erd-1.6.0
- old
+ new
@@ -91,10 +91,10 @@
def children
@children ||= domain.specializations_by_entity_name(name).map(&:specialized)
end
def namespace
- $1 if name.match /(.*)::.*/
+ $1 if name.match(/(.*)::.*/)
end
def to_s # @private :nodoc:
name
end