Method: Polytrix::StateFile#initialize

Defined in:
lib/polytrix/state_file.rb

#initialize(polytrix_root, name) ⇒ StateFile

Returns a new instance of StateFile.



6
7
8
9
10
# File 'lib/polytrix/state_file.rb', line 6

def initialize(polytrix_root, name)
  @file_name = File.expand_path(
    File.join(polytrix_root, '.polytrix', "#{name}.yml")
  )
end