summaryrefslogtreecommitdiff
path: root/spec/support/lib/chef/resource/cat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/lib/chef/resource/cat.rb')
-rw-r--r--spec/support/lib/chef/resource/cat.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/support/lib/chef/resource/cat.rb b/spec/support/lib/chef/resource/cat.rb
index 44acddb653..c4246bb719 100644
--- a/spec/support/lib/chef/resource/cat.rb
+++ b/spec/support/lib/chef/resource/cat.rb
@@ -19,15 +19,14 @@
class Chef
class Resource
class Cat < Chef::Resource
-
attr_accessor :action
- def initialize(name, run_context=nil)
+ def initialize(name, run_context = nil)
super
@action = "sell"
end
- def pretty_kitty(arg=nil)
+ def pretty_kitty(arg = nil)
if arg == true or arg == false
@pretty_kitty = arg
end