lib/limp.rb in limp-0.0.1 vs lib/limp.rb in limp-0.0.2

- old
+ new

@@ -1,5 +1,7 @@ +## +# Singleton module for exposing tokens module Limp class << self def tokens @tokens ||= db_files.map { |x| read_tokens(x) }.flatten end @@ -23,9 +25,9 @@ def token_regex @token_regex ||= /xoxs-\d+-\d+-\d+-\h+/ end def read_tokens(db) - File.read(db).force_encoding("ASCII-8BIT").scan(token_regex) + File.read(db).force_encoding('ASCII-8BIT').scan(token_regex) end end end