Class: FCSHD::Problem
- Inherits:
-
Struct
- Object
- Struct
- FCSHD::Problem
- Defined in:
- lib/fcshd/problem.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location
2 3 4 |
# File 'lib/fcshd/problem.rb', line 2 def location @location end |
#message ⇒ Object
Returns the value of attribute message
2 3 4 |
# File 'lib/fcshd/problem.rb', line 2 def @message end |
Instance Method Details
#to_s(basedir) ⇒ Object
3 4 5 |
# File 'lib/fcshd/problem.rb', line 3 def to_s(basedir) "#{location.to_s(basedir)}: #{}" end |