Module: Autocad::Common
Instance Method Summary collapse
-
#method_missing(method) ⇒ Object
Handle uppercase method calls by forwarding to OLE object.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method) ⇒ Object
Handle uppercase method calls by forwarding to OLE object
7 8 9 10 11 12 13 |
# File 'lib/autocad.rb', line 7 def method_missing(method, ...) if /^[A-Z]/.match?(method.to_s) ole_obj.send(method, ...) else super end end |