Class: Maze::Checks::NoopCheck
- Inherits:
-
Object
- Object
- Maze::Checks::NoopCheck
- Defined in:
- lib/maze/checks/noop_check.rb
Overview
Assertion-backed data verification checks
Instance Method Summary collapse
- #block(_message = 'block failed', &_block) ⇒ Object
- #equal(_expected, _actual, _message = nil) ⇒ Object
- #false(_test, _message = nil) ⇒ Object
- #include(_collection, _object, _message = nil) ⇒ Object (also: #includes)
- #kind_of(_klass, _object, _message = nil) ⇒ Object
- #match(_pattern, _string, _message = nil) ⇒ Object
- #nil(_test, _message = nil) ⇒ Object
- #not_equal(_expected, _actual, _message = nil) ⇒ Object
- #not_include(_collection, _object, _message = nil) ⇒ Object (also: #not_includes)
- #not_nil(_test, _message = nil) ⇒ Object
- #operator(_operand1, _operator, _operand2, _message = nil) ⇒ Object
- #true(_test, _message = nil) ⇒ Object
Instance Method Details
#block(_message = 'block failed', &_block) ⇒ Object
25 |
# File 'lib/maze/checks/noop_check.rb', line 25 def block( = 'block failed', &_block) end |
#equal(_expected, _actual, _message = nil) ⇒ Object
17 |
# File 'lib/maze/checks/noop_check.rb', line 17 def equal(_expected, _actual, = nil) end |
#false(_test, _message = nil) ⇒ Object
9 |
# File 'lib/maze/checks/noop_check.rb', line 9 def false(_test, = nil) end |
#include(_collection, _object, _message = nil) ⇒ Object Also known as: includes
27 |
# File 'lib/maze/checks/noop_check.rb', line 27 def include(_collection, _object, = nil) end |
#kind_of(_klass, _object, _message = nil) ⇒ Object
23 |
# File 'lib/maze/checks/noop_check.rb', line 23 def kind_of(_klass, _object, = nil) end |
#match(_pattern, _string, _message = nil) ⇒ Object
15 |
# File 'lib/maze/checks/noop_check.rb', line 15 def match(_pattern, _string, = nil) end |
#nil(_test, _message = nil) ⇒ Object
11 |
# File 'lib/maze/checks/noop_check.rb', line 11 def nil(_test, = nil) end |
#not_equal(_expected, _actual, _message = nil) ⇒ Object
19 |
# File 'lib/maze/checks/noop_check.rb', line 19 def not_equal(_expected, _actual, = nil) end |
#not_include(_collection, _object, _message = nil) ⇒ Object Also known as: not_includes
30 |
# File 'lib/maze/checks/noop_check.rb', line 30 def not_include(_collection, _object, = nil) end |
#not_nil(_test, _message = nil) ⇒ Object
13 |
# File 'lib/maze/checks/noop_check.rb', line 13 def not_nil(_test, = nil) end |
#operator(_operand1, _operator, _operand2, _message = nil) ⇒ Object
21 |
# File 'lib/maze/checks/noop_check.rb', line 21 def operator(_operand1, _operator, _operand2, = nil) end |
#true(_test, _message = nil) ⇒ Object
7 |
# File 'lib/maze/checks/noop_check.rb', line 7 def true(_test, = nil) end |