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

diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index aeeb680..f6844f3 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -295,11 +295,6 @@ class Type
   def self.validproperties
     parameters.find_all { |p| p.property? }.collect { |p| p.name }
   end
-
-  # does the name reflect a valid parameter?
-  def self.validparameter?(name)
-    valid_aparameter?(name)
-  end
   # end of code likely to be removed
   ##############################
 
@@ -1835,7 +1830,7 @@ class Type
   # then use the object's name.
   def title
     unless @title
-      if self.class.validparameter?(name_var)
+      if self.class.valid_parameter?(name_var)
         @title = self[:name]
       elsif self.class.validproperty?(name_var)
         @title = self.should(name_var)
-- 
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