Changeset [f516036186541cb5a9da6ad02aafbaf92ca25e79] by Dan Kubb
April 3rd, 2012 @ 11:01 AM
Change method visibility on const_missing to be public
- Usually my convention when subclassing is to use the same visibility on any methods I'm overriding. Since all objects in Ruby inherit from Object, and Object#const_missing is public, then my own #const_missing methods should also be public. https://github.com/datamapper/dm-core/commit/f516036186541cb5a9da6a...
Committed by Dan Kubb
- M lib/dm-core/model.rb
- M lib/dm-core/property/lookup.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »