lib/scissor.rb in scissor-0.2.7 vs lib/scissor.rb in scissor-0.2.8
- old
+ new
@@ -7,10 +7,10 @@
def Scissor(filename_or_url = nil)
if filename_or_url && filename_or_url.to_s =~ /^http/
Scissor::Tape.new_from_url(filename_or_url)
else
- Scissor::Tape.new(filename_or_url && Pathname(filename_or_url).expand_path)
+ Scissor::Tape.new(filename_or_url)
end
end
require 'logger'