Class: Torkify::Log::TestError
- Inherits:
-
Struct
- Object
- Struct
- Torkify::Log::TestError
- Defined in:
- lib/torkify/log/test_error.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#lnum ⇒ Object
Returns the value of attribute lnum.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename
2 3 4 |
# File 'lib/torkify/log/test_error.rb', line 2 def filename @filename end |
#lnum ⇒ Object
Returns the value of attribute lnum
2 3 4 |
# File 'lib/torkify/log/test_error.rb', line 2 def lnum @lnum end |
#text ⇒ Object
Returns the value of attribute text
2 3 4 |
# File 'lib/torkify/log/test_error.rb', line 2 def text @text end |
#type ⇒ Object
Returns the value of attribute type
2 3 4 |
# File 'lib/torkify/log/test_error.rb', line 2 def type @type end |
Instance Method Details
#clean_text ⇒ Object
3 4 5 |
# File 'lib/torkify/log/test_error.rb', line 3 def clean_text text.strip end |