Method: Assert::Macros::Methods::ClassMethods#not_have_class_method
- Defined in:
- lib/assert/macros/methods.rb
#not_have_class_method(*methods) ⇒ Object Also known as: not_have_class_methods, not_have_cmeth, not_have_cmeths
45 46 47 48 49 50 51 |
# File 'lib/assert/macros/methods.rb', line 45 def not_have_class_method(*methods) called_from = (methods.last.kind_of?(Array) ? methods.pop : caller).first Assert::Macro.new do methods.each{ |m| _methods_macro_not_class_methods << [m, called_from] } _methods_macro_test end end |