Sha256: ca3b146b7a3b9b3ddee160dfb99874f0f988a89dd36d75f1bc400459d945a725

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

module LocalHistory
    module_function

    def save(word)
        open("#{Dir.home}/.geekdict", 'a') { |f|
            f.puts "#{Time.now.utc.iso8601} #{word}"
        }
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geekdict-0.1.1 lib/geekdict/local_history.rb
geekdict-0.1.0 lib/geekdict/local_history.rb
geekdict-0.0.6 lib/geekdict/local_history.rb
geekdict-0.0.5 lib/geekdict/local_history.rb
geekdict-0.0.4 lib/geekdict/local_history.rb