Sha256: b4d0e492140b56e77c241b9c3b4b368a2ea93388306cf7d6b994947ee43f5d02

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

module Koyaaan
    class Convert
      attr_accessor :pattern
      attr_accessor :replaces
  
      def initialize(pattern, replaces)
        @pattern = pattern
        @replaces = replaces
      end
  
      def match(input)
        input.match(@pattern)
      end
  
      def convert(input)
        input
      end
    end
  end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
Koyaaan-0.1.4 lib/Koyaaan/convert.rb
Koyaaan-0.1.3 lib/Koyaaan/convert.rb
Koyaaan-0.1.2 lib/Koyaaan/convert.rb
Koyaaan-0.1.0 lib/Koyaaan/convert.rb