Class: ChefDK::Generator::Context
- Inherits:
-
Object
- Object
- ChefDK::Generator::Context
- Defined in:
- lib/chef-dk/generator.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#app_root ⇒ Object
Returns the value of attribute app_root.
-
#author_email ⇒ Object
Returns the value of attribute author_email.
-
#author_name ⇒ Object
Returns the value of attribute author_name.
-
#content_source ⇒ Object
Returns the value of attribute content_source.
-
#cookbook_name ⇒ Object
Returns the value of attribute cookbook_name.
-
#cookbook_root ⇒ Object
Returns the value of attribute cookbook_root.
-
#have_git ⇒ Object
Returns the value of attribute have_git.
-
#license_description ⇒ Object
Returns the value of attribute license_description.
-
#license_text ⇒ Object
Returns the value of attribute license_text.
-
#new_file_basename ⇒ Object
Returns the value of attribute new_file_basename.
-
#skip_git_init ⇒ Object
Returns the value of attribute skip_git_init.
Instance Attribute Details
#app_name ⇒ Object
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_root ⇒ Object
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_email ⇒ Object
Returns the value of attribute author_email.
33 34 35 |
# File 'lib/chef-dk/generator.rb', line 33 def @author_email end |
#author_name ⇒ Object
Returns the value of attribute author_name.
32 33 34 |
# File 'lib/chef-dk/generator.rb', line 32 def @author_name end |
#content_source ⇒ Object
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_name ⇒ Object
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_root ⇒ Object
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_git ⇒ Object
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_description ⇒ Object
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_text ⇒ Object
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_basename ⇒ Object
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_init ⇒ Object
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 |