Method: Chef::Node#run_context
- Defined in:
- lib/chef/node.rb
#run_context ⇒ Object
RunContext will set itself as run_context via this setter when initialized. This is needed so DSL::IncludeAttribute (in particular, #include_recipe) can access the run_context to determine if an attributes file has been seen yet. – TODO: This is a pretty ugly way to solve that problem.
53 54 55 |
# File 'lib/chef/node.rb', line 53 def run_context @run_context end |