lib/edl/event.rb in edl-0.0.6 vs lib/edl/event.rb in edl-0.0.7
- old
+ new
@@ -38,9 +38,12 @@
attr_accessor :transition
# How long is the incoming transition on the next event
attr_accessor :outgoing_transition_duration
+ # Where is this event located in the original file
+ attr_accessor :line_number
+
def initialize(opts = {})
opts.each_pair{|k,v| send("#{k}=", v) }
yield(self) if block_given?
end
\ No newline at end of file