Class: Fixme::Details

Inherits:
Struct
  • Object
show all
Defined in:
lib/fixme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace

Returns:

  • (Object)

    the current value of backtrace



8
9
10
# File 'lib/fixme.rb', line 8

def backtrace
  @backtrace
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



8
9
10
# File 'lib/fixme.rb', line 8

def date
  @date
end

#full_messageObject

Returns the value of attribute full_message

Returns:

  • (Object)

    the current value of full_message



8
9
10
# File 'lib/fixme.rb', line 8

def full_message
  @full_message
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



8
9
10
# File 'lib/fixme.rb', line 8

def message
  @message
end

Instance Method Details

#due_days_agoObject



9
10
11
# File 'lib/fixme.rb', line 9

def due_days_ago
  (Date.today - date).to_i
end