Class: SRT::Line

Inherits:
Object
  • Object
show all
Defined in:
lib/srt/patches.rb

Instance Method Summary collapse

Instance Method Details

#to_s(time_str_function = :time_str) ⇒ Object



3
4
5
# File 'lib/srt/patches.rb', line 3

def to_s(time_str_function=:time_str)
  [sequence, (display_coordinates ? send(time_str_function) + display_coordinates : send(time_str_function)), text, ''].flatten.join("\n")
end