Class: FCSHD::Transcript::Item

Inherits:
Struct
  • Object
show all
Defined in:
lib/fcshd/transcript-item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



5
6
7
# File 'lib/fcshd/transcript-item.rb', line 5

def location
  @location
end

#mxmlc_messageObject

Returns the value of attribute mxmlc_message

Returns:

  • (Object)

    the current value of mxmlc_message



5
6
7
# File 'lib/fcshd/transcript-item.rb', line 5

def mxmlc_message
  @mxmlc_message
end

Instance Method Details

#problemsObject



10
11
12
# File 'lib/fcshd/transcript-item.rb', line 10

def problems
  get_problems(parsed_message)
end

#to_s(basedir) ⇒ Object



6
7
8
# File 'lib/fcshd/transcript-item.rb', line 6

def to_s(basedir)
  problems.map { |problem| problem.to_s(basedir) + "\n" }
end