D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Test
/
Unit
/
Assertions
/
Filename :
assert_operator-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares the +object1+ with +object2+ using <tt>operator</tt>. - !ruby/struct:SM::Flow::P body: Passes if object1.<em>send</em>(operator, object2) is true. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_operator 5, :>=, 4\n" full_name: Test::Unit::Assertions#assert_operator is_singleton: false name: assert_operator params: (object1, operator, object2, message="") visibility: public