Module: Kernel
- Defined in:
- lib/uyirmei/core.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
2 3 4 5 6 |
# File 'lib/uyirmei/core.rb', line 2 def method_missing(*args) skip_methods = %i(to_a to_hash to_io to_str to_ary to_int) return nil if skip_methods.include?(args[0]) return args[0] end |