Class: Hark::LaxListener

Inherits:
Listener show all
Defined in:
lib/hark/listener.rb

Instance Attribute Summary

Attributes inherited from Listener

#dispatcher

Instance Method Summary collapse

Methods inherited from Listener

#hark, #initialize, #lax, new, #strict

Constructor Details

This class inherits a constructor from Hark::Listener

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



54
55
56
# File 'lib/hark/listener.rb', line 54

def method_missing *args, &block
  dispatcher.handle(*args, &block)
end

Instance Method Details

#respond_to?(*args) ⇒ Boolean

Returns:

  • (Boolean)


50
51
52
# File 'lib/hark/listener.rb', line 50

def respond_to? *args
  true
end