class Slappy::Listener::TextListener

Public Instance Methods

pattern() click to toggle source
# File lib/slappy/listeners/text_listener.rb, line 4
def pattern
  return /#{@pattern}/ if @pattern.instance_of? String
  @pattern
end