Module: Imagesorter::Gem

Defined in:
lib/imagesorter/gem.rb

Overview

Gem related helpers

Class Method Summary collapse

Class Method Details

.rootObject



16
17
18
# File 'lib/imagesorter/gem.rb', line 16

def self.root
  @root ||= File.expand_path('../../..', __FILE__)
end

.versionObject



20
21
22
# File 'lib/imagesorter/gem.rb', line 20

def self.version
  @version ||= File.read(File.join(root, 'version')).strip
end