module Base

Attributes

path[RW]

Public Class Methods

new(override_path = nil) click to toggle source
# File lib/titanfall/base.rb, line 4
def initialize(override_path = nil)
  @path = override_path || "C:\\Users\\#{username}\\Documents\\Respawn"
end

Private Instance Methods

username() click to toggle source
# File lib/titanfall/base.rb, line 10
def username
  ENV['username']
end