Files
old-holivud2/app/models/edl_event.rb
2020-05-31 22:38:19 +02:00

22 lines
301 B
Ruby

class EdlEvent < Struct.new(
:channel,
:start_time,
:timecode_in,
:timecode_out,
:duration,
:source_file_name,
:clip_name,
:description,
:matches,
keyword_init: true
)
def attributes
to_h
end
def public_attributes
attributes.except(:start_time, :matches)
end
end