def self.elements
@@elements || {}
end
+
+ def self.manifest=(arg)
+ @@manifest = Manifest.new arg
+ end
+
+ def self.manifest
+ @@manifest
+ end
end
+
+ def manifest
+ Application::manifest
+ end
+
end
Pettanr::Application.licenses = YAML.load(open(Rails.root + 'config/license.yml').read)
false
end
MagicNumber['profile'] = JSON.parse(open(Rails.root + 'config/profile.json').read).first[1] #strip profile body
+Pettanr::Application.manifest = JSON.parse(open(Rails.root + 'public/manifest.json').read)
+
y = YAML.load(open(Rails.root + 'config/picture_io.yml').read)
require y[Rails.env]["adapter"]
pio = PictureIO.const_get y[Rails.env]["io"]