Class: ConditionalDcommit::Package

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

Class Method Summary collapse

Class Method Details

.data_file(filename) ⇒ Object



7
8
9
# File 'lib/conditional_dcommit/package.rb', line 7

def self.data_file(filename)
  File.join(data_path, filename)
end

.data_pathObject



3
4
5
# File 'lib/conditional_dcommit/package.rb', line 3

def self.data_path
  File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'data'))
end