Class: Slappy::Listener::TextListener
- Defined in:
- lib/slappy/listeners/text_listener.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Targettable
Methods included from Debuggable
Methods included from Validatable
Constructor Details
This class inherits a constructor from Slappy::Listener::Base
Instance Method Details
#pattern ⇒ Object
4 5 6 7 |
# File 'lib/slappy/listeners/text_listener.rb', line 4 def pattern return /#{@pattern}/ if @pattern.instance_of? String @pattern end |