lib/princely.rb in yellowlab-princely-1.2.5.yellowlab.3 vs lib/princely.rb in yellowlab-princely-1.2.5.yellowlab.4
- old
+ new
@@ -25,10 +25,10 @@
attr_accessor :exe_path, :style_sheets, :log_file, :logger
def self.prince_executable
@@prince_executable ||= begin
path = `which prince`.chomp
- raise "Cannot find prince command-line app in $PATH" if @exe_path.length == 0
+ raise "Cannot find prince command-line app in $PATH" if path.length == 0
path
end
end
def self.prince_executable=(path)