Class: MateExample::AddAnnotations::AnnotationListener
- Inherits:
-
Object
- Object
- MateExample::AddAnnotations::AnnotationListener
- Defined in:
- lib/javamateview/example.rb
Instance Method Summary collapse
-
#initialize(mt) ⇒ AnnotationListener
constructor
A new instance of AnnotationListener.
- #method_missing(event, *args) ⇒ Object
Constructor Details
#initialize(mt) ⇒ AnnotationListener
Returns a new instance of AnnotationListener.
132 133 134 |
# File 'lib/javamateview/example.rb', line 132 def initialize(mt) @mt = mt end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(event, *args) ⇒ Object
136 137 138 |
# File 'lib/javamateview/example.rb', line 136 def method_missing(event, *args) p [event, args] end |