lib/scissor/fragment.rb in youpy-scissor-0.0.18 vs lib/scissor/fragment.rb in youpy-scissor-0.0.19
- old
+ new
@@ -3,10 +3,10 @@
module Scissor
class Fragment
attr_reader :filename, :start, :duration
def initialize(filename, start, duration, reverse = false)
- @filename = Pathname.new(filename)
+ @filename = Pathname.new(filename).realpath
@start = start
@duration = duration
@reverse = reverse
freeze