Method: Plugems::Manifest#initialize
- Defined in:
- lib/plugems/manifest.rb
#initialize(file_name = nil) ⇒ Manifest
Returns a new instance of Manifest.
12 13 14 15 16 17 18 19 |
# File 'lib/plugems/manifest.rb', line 12 def initialize(file_name = nil) begin @manifest = load_file(file_name || self.class.manifest_file) rescue Exception => e puts "#{e}. Manifest file is not set? (via Plugems::Manifest.manifest_file =)" puts e end end |