Class: Almirah

Inherits:
Object
  • Object
show all
Defined in:
lib/almirah.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project_folder) ⇒ Almirah

Returns a new instance of Almirah.



27
28
29
# File 'lib/almirah.rb', line 27

def initialize(project_folder)
  @project = Project.new project_folder
end

Instance Attribute Details

#projectObject

Returns the value of attribute project.



25
26
27
# File 'lib/almirah.rb', line 25

def project
  @project
end

Instance Method Details

#defaultObject



43
44
45
# File 'lib/almirah.rb', line 43

def default()
  @project.specifications_and_protocols
end

#getGemRootObject



31
32
33
# File 'lib/almirah.rb', line 31

def getGemRoot()
  File.expand_path './..', 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