Method: Fusion::Basic#initialize
- Defined in:
- lib/fusion.rb
#initialize ⇒ Basic
Returns a new instance of Basic.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/fusion.rb', line 28 def initialize @bundle_options = Fusion.instance_variable_get('@options') @log = @bundle_options[:logger] || Logger.new(STDOUT) if @bundle_options[:bundle_configs] @bundle_configs = @bundle_options[:bundle_configs] else @bundle_configs = YAML::load(File.open(@bundle_options[:bundle_file_path])) end end |