Class: Prick::ProjectState

Inherits:
State show all
Defined in:
lib/prick/state.rb

Instance Attribute Summary

Attributes inherited from PrickFile

#path

Instance Method Summary collapse

Methods inherited from State

#create, #read, #set, #write

Methods inherited from PrickFile

#exist?

Constructor Details

#initialize(name: nil, user: nil) ⇒ ProjectState

Returns a new instance of ProjectState.



75
76
77
78
# File 'lib/prick/state.rb', line 75

def initialize(name: nil, user: nil)
  super(PROJECT_STATE_FILE, name: String, user: String)
  set(name: name, user: user)
end