lib/anybase.rb in anybase-0.0.13 vs lib/anybase.rb in anybase-0.0.14

- old
+ new

@@ -2,10 +2,10 @@ class Anybase UnrecognizedCharacterError = Class.new(RuntimeError) - attr_reader :chars, :char_map, :num_map + attr_reader :chars, :char_map, :num_map, :regexp def initialize(chars, opts = nil) @chars = chars @ignore_case = opts && opts.key?(:ignore_case) ? opts[:ignore_case] : false @sign = opts && opts.key?(:sign) ? opts[:sign] : nil