Sha256: 8c8837a24859c1aba50e7c8c38b4a423c2277429932072f10a3c926c3c3fdd95
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Koyaaan-0.1.1 | lib/Koyaaan/convert.rb |