Class: Dapp::Dimg::Builder::Chef::Berksfile::FromFileBuilder
- Defined in:
- lib/dapp/dimg/builder/chef/berksfile.rb
Overview
FromConfBuilder
Instance Method Summary collapse
- #dump ⇒ Object
-
#initialize(berksfile, berksfile_file_path) ⇒ FromFileBuilder
constructor
A new instance of FromFileBuilder.
Methods inherited from Builder
Constructor Details
#initialize(berksfile, berksfile_file_path) ⇒ FromFileBuilder
Returns a new instance of FromFileBuilder.
107 108 109 110 111 112 113 |
# File 'lib/dapp/dimg/builder/chef/berksfile.rb', line 107 def initialize(berksfile, berksfile_file_path) super(berksfile) @berksfile_file_path = berksfile_file_path instance_eval(@berksfile_file_path.read, @berksfile_file_path.to_s) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Dapp::Dimg::Builder::Chef::Berksfile::Builder
Instance Method Details
#dump ⇒ Object
115 116 117 |
# File 'lib/dapp/dimg/builder/chef/berksfile.rb', line 115 def dump @berksfile_file_path.read end |