Class: ChefDK::Generator::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/chef-dk/generator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#app_nameObject

Returns the value of attribute app_name.



28
29
30
# File 'lib/chef-dk/generator.rb', line 28

def app_name
  @app_name
end

#app_rootObject

Returns the value of attribute app_root.



26
27
28
# File 'lib/chef-dk/generator.rb', line 26

def app_root
  @app_root
end

#author_emailObject

Returns the value of attribute author_email.



33
34
35
# File 'lib/chef-dk/generator.rb', line 33

def author_email
  @author_email
end

#author_nameObject

Returns the value of attribute author_name.



32
33
34
# File 'lib/chef-dk/generator.rb', line 32

def author_name
  @author_name
end

#content_sourceObject

Returns the value of attribute content_source.



31
32
33
# File 'lib/chef-dk/generator.rb', line 31

def content_source
  @content_source
end

#cookbook_nameObject

Returns the value of attribute cookbook_name.



29
30
31
# File 'lib/chef-dk/generator.rb', line 29

def cookbook_name
  @cookbook_name
end

#cookbook_rootObject

Returns the value of attribute cookbook_root.



27
28
29
# File 'lib/chef-dk/generator.rb', line 27

def cookbook_root
  @cookbook_root
end

#have_gitObject

Returns the value of attribute have_git.



24
25
26
# File 'lib/chef-dk/generator.rb', line 24

def have_git
  @have_git
end

#license_descriptionObject

Returns the value of attribute license_description.



34
35
36
# File 'lib/chef-dk/generator.rb', line 34

def license_description
  @license_description
end

#license_textObject

Returns the value of attribute license_text.



35
36
37
# File 'lib/chef-dk/generator.rb', line 35

def license_text
  @license_text
end

#new_file_basenameObject

Returns the value of attribute new_file_basename.



30
31
32
# File 'lib/chef-dk/generator.rb', line 30

def new_file_basename
  @new_file_basename
end

#skip_git_initObject

Returns the value of attribute skip_git_init.



37
38
39
# File 'lib/chef-dk/generator.rb', line 37

def skip_git_init
  @skip_git_init
end