Signed-off-by: Luke Kanies <[email protected]>
---
Local-branch: refactor/master/8233-refactor_parameter_management
 lib/puppet/type.rb    |    5 -----
 test/ral/type/exec.rb |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 819c89d..5bf6758 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -282,11 +282,6 @@ class Type
     parameters.each { |p| yield p.name }
   end
 
-  # Find the parameter class associated with a given parameter name.
-  def self.paramclass(name)
-    parameter(name)
-  end
-
   # Return the property class associated with a name
   def self.propertybyname(name)
     parameter(name)
diff --git a/test/ral/type/exec.rb b/test/ral/type/exec.rb
index 1d4296e..bc83b21 100755
--- a/test/ral/type/exec.rb
+++ b/test/ral/type/exec.rb
@@ -442,7 +442,7 @@ class TestExec < Test::Unit::TestCase
     end
 
     Puppet::Type.type(:exec).checks.each do |check|
-      klass = Puppet::Type.type(:exec).paramclass(check)
+      klass = Puppet::Type.type(:exec).parameter(check)
       next if klass.value_collection.values.include? :false
       assert_raise(Puppet::Error, "Check '#{check}' did not fail on false") do
         exec[check] = false
-- 
1.7.3.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to