lib/jan/check_digit_calculator.rb in jan-0.0.3 vs lib/jan/check_digit_calculator.rb in jan-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
require "jan/parser"
-class Jan
+class Jan < ::String
module CheckDigitCalculator
module_function
def calculate(body)
code = body.to_s + "x"