Module: Base

Included in:
Titanfall
Defined in:
lib/titanfall/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pathObject

Returns the value of attribute path.



2
3
4
# File 'lib/titanfall/base.rb', line 2

def path
  @path
end

Instance Method Details

#initialize(override_path = nil) ⇒ Object



4
5
6
# File 'lib/titanfall/base.rb', line 4

def initialize(override_path = nil)
  @path = override_path || "C:\\Users\\#{username}\\Documents\\Respawn"
end