lib/common/tree_utils.rb
#
# Defined a fallback for non-defined (traversal) _order methods
#
Defined a fallback for non-defined (traversal) _order methods
Defined a fallback for non - defined ( traversal ) _order methods
def method_missing(meth, *args, &block)
      if meth.to_s =~ /_[a-z0-9]+_order/
        STDERR.print("[!] method #{meth} not defined yet...\n")
        Kernel.exit 1
      else
        super
      end
    end
def method_missing ( meth , * args , & block ) if meth . to_s =~ / _[a-z0-9]+_order / STDERR . print ( "[!] method #{meth} not defined yet...\n" ) Kernel . exit 1 else super end end
Defined a fallback for non-defined (traversal) _order methods
Defined a fallback for non - defined ( traversal ) _order methods
# method in Ruby are all lowercase...
meth
<not_specific>
args
<not_specific>
block
<not_specific>