Module: Ftpmock::MethodMissingMixin
- Included in:
- NetFtpProxy
- Defined in:
- lib/ftpmock/proxies/method_missing_mixin.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *_args) ⇒ Object
3 4 5 6 7 |
# File 'lib/ftpmock/proxies/method_missing_mixin.rb', line 3 def method_missing(name, *_args) msg = " Missing method `#{self.class.name}##{name}`. Ignoring" configuration.verbose && VerboseUtils.warn(msg) nil end |