module Paradeiser
Constants
- VERSION
Public Class Methods
hooks_dir()
click to toggle source
# File lib/paradeiser.rb, line 33 def self.hooks_dir File.join(Paradeiser.par_dir, 'hooks') end
os()
click to toggle source
# File lib/paradeiser.rb, line 41 def self.os case RUBY_PLATFORM when /darwin/ then :mac when /linux/ then :linux else :other end end
par_dir()
click to toggle source
# File lib/paradeiser.rb, line 29 def self.par_dir ENV['PAR_DIR'] || File.expand_path('~/.paradeiser/') end
templates_dir()
click to toggle source
# File lib/paradeiser.rb, line 37 def self.templates_dir File.join(File.dirname(__FILE__), '..', 'templates') end