module Rpa
Constants
- PHOTO_TYPES
- VERSION
Public Class Methods
check_system()
click to toggle source
# File lib/rpa.rb, line 7 def self.check_system if %x{ which jhead }.to_s.strip == "" STDERR.puts "This program requires the jhead binary to be found in PATH" exit 1 end end
root()
click to toggle source
# File lib/rpa.rb, line 18 def self.root @root ||= Pathname.new(File.expand_path('../..', __FILE__)) end
themes()
click to toggle source
# File lib/rpa.rb, line 14 def self.themes Dir[root.join("templates", "*")].map { |t| File.basename(t) } end