class PseudoExample

class is describe object like RSpec::Core::Example

Attributes

description[R]
execution_result[R]

Public Class Methods

new(description = 'Check something', started_at = Time.now) click to toggle source
# File lib/onlyoffice_tcm_helper/models/pseudo_example.rb, line 8
def initialize(description = 'Check something', started_at = Time.now)
  @description = description
  @execution_result = ExecutingResult.new(started_at)
end

Public Instance Methods

exception() click to toggle source

@return [nil] non-existing exception

# File lib/onlyoffice_tcm_helper/models/pseudo_example.rb, line 23
def exception; end
metadata() click to toggle source

@return [Hash] metadata of class

# File lib/onlyoffice_tcm_helper/models/pseudo_example.rb, line 14
def metadata
  {
    description: @description,
    execution_result: @execution_result,
    absolute_file_path: __FILE__
  }
end
pending?() click to toggle source

@return [false] is example pending

# File lib/onlyoffice_tcm_helper/models/pseudo_example.rb, line 26
def pending?
  false
end