lib/Koyaaan/convert.rb in Koyaaan-0.1.0 vs lib/Koyaaan/convert.rb in Koyaaan-0.1.1

- old
+ new

@@ -1,19 +1,19 @@ -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 +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 \ No newline at end of file