Module: Tinkit

Defined in:
lib/helpers/require_helper.rb

Overview

Tinkit Library Locations

Constant Summary collapse

@@top =

main bufs directory

File.join(File.dirname(__FILE__), '../..')
@@lib =
File.join(@@top, 'lib/')
@@helpers =
File.join(@@top, 'lib/helpers/')
@@moabs =
File.join(@@lib, 'moabs')
@@midas =
File.join(@@lib, 'midas')
@@glue =
File.join(@@lib, 'glue_envs')
@@specs =
File.join(@@top, 'spec')
@@spec_helpers =
File.join(@@specs, 'helpers')
@@fixtures =
File.join(@@top, 'bufs_fixtures')

Class Method Summary collapse

Class Method Details

.fixtures(req_file) ⇒ Object



29
30
31
# File 'lib/helpers/require_helper.rb', line 29

def self.fixtures(req_file)
  File.expand_path(File.join(@@fixtures, req_file))
end

.glue(req_file) ⇒ Object



41
42
43
# File 'lib/helpers/require_helper.rb', line 41

def self.glue(req_file)
  File.expand_path(File.join(@@glue, req_file))
end

.helpers(req_file) ⇒ Object



17
18
19
# File 'lib/helpers/require_helper.rb', line 17

def self.helpers(req_file)
  File.expand_path(File.join(@@helpers, req_file))
end

.lib(req_file) ⇒ Object



13
14
15
# File 'lib/helpers/require_helper.rb', line 13

def self.lib(req_file)
  File.expand_path(File.join(@@lib, req_file))
end

.midas(req_file) ⇒ Object



37
38
39
# File 'lib/helpers/require_helper.rb', line 37

def self.midas(req_file)
  File.expand_path(File.join(@@midas, req_file))
end

.moabs(req_file) ⇒ Object



33
34
35
# File 'lib/helpers/require_helper.rb', line 33

def self.moabs(req_file)
  File.expand_path(File.join(@@moabs, req_file))
end

.spec(req_file) ⇒ Object



21
22
23
# File 'lib/helpers/require_helper.rb', line 21

def self.spec(req_file)
  File.expand_path(File.join(@@specs, req_file))
end

.spec_helpers(req_file) ⇒ Object



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

def self.spec_helpers(req_file)
  File.expand_path(File.join(@@spec_helpers, req_file))
end