Sha256: 61070296a6e84004a1c5eac3074c9ff7831125b2a23d51ec83336e3ac3881137

Contents?: true

Size: 186 Bytes

Versions: 7

Compression:

Stored size: 186 Bytes

Contents

module Slappy
  module Listener
    class TextListener < Base
      def pattern
        return /#{@pattern}/ if @pattern.instance_of? String
        @pattern
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slappy-0.6.3 lib/slappy/listeners/text_listener.rb
slappy-0.6.2 lib/slappy/listeners/text_listener.rb
slappy-0.6.1 lib/slappy/listeners/text_listener.rb
slappy-0.6.0 lib/slappy/listeners/text_listener.rb
slappy-0.5.2 lib/slappy/listeners/text_listener.rb
slappy-0.5.1 lib/slappy/listeners/text_listener.rb
slappy-0.5.0 lib/slappy/listeners/text_listener.rb