Class: Chef::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/chef/rewind.rb

Instance Method Summary collapse

Instance Method Details

#cookbook_name(arg = nil) ⇒ Object



51
52
53
54
55
56
# File 'lib/chef/rewind.rb', line 51

def cookbook_name(arg=nil)
  set_or_return(
                :cookbook_name,
                arg,
                :kind_of => String)
end

#recipe_name(arg = nil) ⇒ Object



58
59
60
61
62
63
# File 'lib/chef/rewind.rb', line 58

def recipe_name(arg=nil)
  set_or_return(
                :recipe_name,
                arg,
                :kind_of => String)
end