# 'cheat assertions' for the rest assert_operator(object1, operator, object2, message="") Compares the +object1+ with +object2+ using operator. Passes if object1.send(operator, object2) is true. Example: assert_operator 5, :>=, 4
cheat sheets.
$ cheat assert_operator( add new | see all )
- updated sheets

- shoulda
- capistrano
- rpm
- string
- sqld4r
- cheat_el
- cheat
- magit
- to_i
- bm
- rails_date_formats
- sequel
- dexagogo_form_validation
- git
- git_remote_branch
Advertisement