aboutsummaryrefslogtreecommitdiff
path: root/lib/keyring/fs.rb
blob: 9f20378cb5dc83953d87608de64422daa63e2c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Keyring
  class Fs
    def get_as_string(filename)
      data = ''
      f = File.open(filename, "r") 
      f.each_line do |line|
        data += line
      end
      return data
    end
  end
end