diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-14 02:42:21 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-14 02:42:21 +0000 |
commit | ba57dff26b717113a4a7e0bb73bd099a684776e5 (patch) | |
tree | c2e701c1135c659e9fc66c900715a717410ca093 /lib/puppet/rails/rails_object.rb | |
parent | 22e70f069cec86f94e17774c9c2b84b1bb9cda6c (diff) | |
download | puppet-ba57dff26b717113a4a7e0bb73bd099a684776e5.tar.gz puppet-ba57dff26b717113a4a7e0bb73bd099a684776e5.tar.xz puppet-ba57dff26b717113a4a7e0bb73bd099a684776e5.zip |
I had to redo how the scopes handled collectable objects (which I will soon change to being called "exported objects"). All seems to work now, though.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1192 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/rails/rails_object.rb')
-rw-r--r-- | lib/puppet/rails/rails_object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/rails/rails_object.rb b/lib/puppet/rails/rails_object.rb index 1b725c984..d1e58e453 100644 --- a/lib/puppet/rails/rails_object.rb +++ b/lib/puppet/rails/rails_object.rb @@ -24,7 +24,7 @@ class Puppet::Rails::RailsObject < ActiveRecord::Base # is collectable, though, since that would cause it to get stripped # from the configuration. def to_trans - obj = Puppet::TransObject.new(ptype(), name()) + obj = Puppet::TransObject.new(name(), ptype()) [:file, :line, :tags].each do |method| if val = send(method) |