Class: Almirah
- Inherits:
-
Object
- Object
- Almirah
- Defined in:
- lib/almirah.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
Returns the value of attribute project.
Instance Method Summary collapse
- #default ⇒ Object
- #getGemRoot ⇒ Object
-
#initialize(project_folder) ⇒ Almirah
constructor
A new instance of Almirah.
- #results(test_run) ⇒ Object
- #transform(file_extension) ⇒ Object
Constructor Details
Instance Attribute Details
#project ⇒ Object
Returns the value of attribute project.
25 26 27 |
# File 'lib/almirah.rb', line 25 def project @project end |
Instance Method Details
#default ⇒ Object
43 44 45 |
# File 'lib/almirah.rb', line 43 def default() @project.specifications_and_protocols end |
#getGemRoot ⇒ Object
31 32 33 |
# File 'lib/almirah.rb', line 31 def getGemRoot() File. './..', File.dirname(__FILE__) end |
#results(test_run) ⇒ Object
35 36 37 |
# File 'lib/almirah.rb', line 35 def results( test_run ) @project.specifications_and_results test_run end |
#transform(file_extension) ⇒ Object
39 40 41 |
# File 'lib/almirah.rb', line 39 def transform( file_extension ) @project.transform file_extension end |