Class: Assert::Result::Pass

Inherits:
Base
  • Object
show all
Defined in:
lib/assert/result.rb,
lib/assert/result.rb

Instance Attribute Summary

Attributes inherited from Base

#backtrace, #message, #test

Instance Method Summary collapse

Methods inherited from Base

#==, #initialize, #inspect, #set_backtrace, #test_name, #to_s, #trace

Constructor Details

This class inherits a constructor from Assert::Result::Base

Instance Method Details

#nameObject


76
77
78
# File 'lib/assert/result.rb', line 76

def name
  "Pass"
end

#pass?Boolean

Returns:

  • (Boolean)

73
# File 'lib/assert/result.rb', line 73

def pass?; true; end

#to_symObject


74
# File 'lib/assert/result.rb', line 74

def to_sym; :pass; end