summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/loaded_code.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-06-04 11:05:09 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-06-16 14:19:25 +1000
commit8faa4663a4d79de47886755693f5539d531bd1f8 (patch)
tree06d273676e18a4587d847a58d5dadfe186dc662c /lib/puppet/parser/loaded_code.rb
parent53e361044cd695147bd0af90ce9a8c6f8150b5ad (diff)
downloadpuppet-8faa4663a4d79de47886755693f5539d531bd1f8.tar.gz
puppet-8faa4663a4d79de47886755693f5539d531bd1f8.tar.xz
puppet-8faa4663a4d79de47886755693f5539d531bd1f8.zip
[#3866] Rename the method metaclass to singleton_class to avoid the deprecation warnings from Rails ActiveSupport
The metaid.rb file came straight from why the lucky stiff's "seeing metaclasses clearly" article. Rails used this too, but they recently deprecated the name metaclass in favor of singleton_class to match what ruby-core decided to do. meta, eigen and singlton class were all suggested and in the end singleton was agreed upon. http://redmine.ruby-lang.org/issues/show/1082
Diffstat (limited to 'lib/puppet/parser/loaded_code.rb')
0 files changed, 0 insertions, 0 deletions