class Error

Hold the error message generated (along with a timestamp).

Attributes

text[RW]
timestamp[RW]

Public Class Methods

new(text) click to toggle source
# File lib/fldigi.rb, line 41
def initialize(text)
  @timestamp=Time.now()
  @text=text
end

Public Instance Methods

to_s() click to toggle source
# File lib/fldigi.rb, line 46
def to_s
  "#{@timestamp.to_s}:  #{@text}"
end