diff options
author | John Keiser <john@johnkeiser.com> | 2015-06-08 14:59:51 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-23 14:42:28 -0700 |
commit | 0d5a74146b3e6db4f040ed02f29e3578c29c02e0 (patch) | |
tree | 26aaf4263df14ec8f81338f044efba6f2c2ced34 | |
parent | 1a9a50439a595d3303a0a87282456243275f64ef (diff) | |
download | chef-0d5a74146b3e6db4f040ed02f29e3578c29c02e0.tar.gz |
Rename create_action_provider_class -> new_action_provider_class
-rw-r--r-- | lib/chef/resource.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 4c4eb84006..1a57b343a7 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1059,7 +1059,7 @@ class Chef # def self.action(action, &recipe_block) action = action.to_sym - create_action_provider_class.action(action, &recipe_block) + new_action_provider_class.action(action, &recipe_block) self.allowed_actions += [ action ] default_action action if default_action == :nothing end @@ -1082,7 +1082,7 @@ class Chef @action_provider_class || # If the superclass needed one, then we need one as well. if superclass.respond_to?(:action_provider_class) && superclass.action_provider_class - create_action_provider_class + new_action_provider_class end end @@ -1091,7 +1091,7 @@ class Chef # when the user does `action :x do ... end`. # # @api private - def self.create_action_provider_class + def self.new_action_provider_class return @action_provider_class if @action_provider_class if superclass.respond_to?(:action_provider_class) |