Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/types/monkey_patching/object.rb
Instance Method Summary collapse
Instance Method Details
#must(message = nil) ⇒ Object
4 5 6 7 8 |
# File 'lib/types/monkey_patching/object.rb', line 4 def must( = nil) raise RubytMustNotBeNilError, if nil? self end |