Method: Shef::Extensions.extend_context_object
- Defined in:
- lib/chef/shef/ext.rb
.extend_context_object(obj) ⇒ Object
556 557 558 559 560 561 562 |
# File 'lib/chef/shef/ext.rb', line 556 def self.extend_context_object(obj) obj.instance_eval(&ObjectUIExtensions) obj.instance_eval(&MainContextExtensions) obj.instance_eval(&RESTApiExtensions) obj.extend(FileUtils) obj.extend(Chef::Mixin::Language) end |