Class: Roject::Project
Overview
Created: 7 - 10 - 2016
Instance Method Summary collapse
-
#config(hash) ⇒ Object
This is a test method and is depricated by default.
-
#hash ⇒ Object
Returns a hash of the data contained in the project.
-
#initialize(hash = {}) ⇒ Project
constructor
Creates a Project with the given data hash.
Methods included from LoadSaveable
Constructor Details
#initialize(hash = {}) ⇒ Project
Creates a Project with the given data hash
Parameter: hash - the data to be contained in the project
33 34 35 |
# File 'lib/project.rb', line 33 def initialize hash={} @project = hash end |
Instance Method Details
#config(hash) ⇒ Object
This is a test method and is depricated by default. Do not use!
38 |
# File 'lib/project.rb', line 38 def config(hash); @project = hash; end |
#hash ⇒ Object
Returns a hash of the data contained in the project
Return: a hash of the data contained in the project
43 44 45 |
# File 'lib/project.rb', line 43 def hash @project end |