Class: Torkify::Log::TestError

Inherits:
Struct
  • Object
show all
Defined in:
lib/torkify/log/test_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



2
3
4
# File 'lib/torkify/log/test_error.rb', line 2

def filename
  @filename
end

#lnumObject

Returns the value of attribute lnum

Returns:

  • (Object)

    the current value of lnum



2
3
4
# File 'lib/torkify/log/test_error.rb', line 2

def lnum
  @lnum
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



2
3
4
# File 'lib/torkify/log/test_error.rb', line 2

def text
  @text
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/torkify/log/test_error.rb', line 2

def type
  @type
end

Instance Method Details

#clean_textObject



3
4
5
# File 'lib/torkify/log/test_error.rb', line 3

def clean_text
  text.strip
end