Class: PatternMatching::NodeBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/patternmatching/pattern.rb

Overview

Private class for build structured data

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object (private)



122
123
124
# File 'lib/patternmatching/pattern.rb', line 122

def method_missing(name, *args)
  Node.new(name, args)
end