class Fantassh::HistoryFile

Public Instance Methods

add(new_entries) click to toggle source

as opposed to the actual entries files we want to have duplicates here to properly represent the user’s history

Calls superclass method Fantassh::EntriesFile#add
# File lib/fantassh/history_file.rb, line 13
def add(new_entries)
  super(new_entries, reject_duplicates: false)
end
file() click to toggle source
# File lib/fantassh/history_file.rb, line 6
def file
  File.join(@config_dir, 'history')
end