Class: Prick::ProjectState
Overview
Models the .prick-project file that contains the name of the project and the database user
Instance Attribute Summary
Attributes inherited from PrickFile
Instance Method Summary collapse
-
#initialize(name: nil, user: nil) ⇒ ProjectState
constructor
A new instance of ProjectState.
Methods inherited from State
Methods inherited from PrickFile
Constructor Details
#initialize(name: nil, user: nil) ⇒ ProjectState
Returns a new instance of ProjectState.
186 187 188 189 |
# File 'lib/prick/state.rb', line 186 def initialize(name: nil, user: nil) super(PROJECT_STATE_FILE, name: String, user: String) set(name: name, user: user) end |