Module: Imagesorter::Gem
- Defined in:
- lib/imagesorter/gem.rb
Overview
Gem related helpers
Class Method Summary collapse
Class Method Details
.root ⇒ Object
16 17 18 |
# File 'lib/imagesorter/gem.rb', line 16 def self.root @root ||= File.('../../..', __FILE__) end |
.version ⇒ Object
20 21 22 |
# File 'lib/imagesorter/gem.rb', line 20 def self.version @version ||= File.read(File.join(root, 'version')).strip end |