Class: Builtin
- Inherits:
-
Object
- Object
- Builtin
- Defined in:
- lib/teuton/check/builtin.rb
Overview
EXPERIMENTAL class
Instance Attribute Summary collapse
-
#param ⇒ Object
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(parent) ⇒ Builtin
constructor
A new instance of Builtin.
- #method_missing(method) ⇒ Object
Constructor Details
#initialize(parent) ⇒ Builtin
Returns a new instance of Builtin.
6 7 8 |
# File 'lib/teuton/check/builtin.rb', line 6 def initialize(parent) @parent = parent end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method) ⇒ Object
10 11 12 |
# File 'lib/teuton/check/builtin.rb', line 10 def method_missing(method) @parent.log "BUILTIN #{method}" end |
Instance Attribute Details
#param ⇒ Object
Returns the value of attribute param.
4 5 6 |
# File 'lib/teuton/check/builtin.rb', line 4 def param @param end |