Module: KnifeTable::Helpers
- Included in:
- TableClear, TableServe, TableSet
- Defined in:
- lib/knife-table/helpers.rb
Instance Method Summary collapse
Instance Method Details
#cookbook_path ⇒ Object
7 8 9 |
# File 'lib/knife-table/helpers.rb', line 7 def cookbook_path Chef::Config[:cookbook_path].first end |
#git ⇒ Object
3 4 5 |
# File 'lib/knife-table/helpers.rb', line 3 def git @git ||= Git.open(File.dirname(cookbook_path)) end |