Class: Nit::Command::Status::State
- Inherits:
-
Object
- Object
- Nit::Command::Status::State
- Defined in:
- lib/nit/command/status.rb
Overview
Encapsulates the process of computing the file index from ‘git status`.
Instance Attribute Summary collapse
-
#files ⇒ Object
readonly
Returns the value of attribute files.
-
#ignored ⇒ Object
readonly
Returns the value of attribute ignored.
-
#screen ⇒ Object
readonly
Returns the value of attribute screen.
Instance Method Summary collapse
-
#initialize(screen_state, config) ⇒ State
constructor
TODO: test me.
Constructor Details
Instance Attribute Details
#files ⇒ Object (readonly)
Returns the value of attribute files.
12 13 14 |
# File 'lib/nit/command/status.rb', line 12 def files @files end |
#ignored ⇒ Object (readonly)
Returns the value of attribute ignored.
12 13 14 |
# File 'lib/nit/command/status.rb', line 12 def ignored @ignored end |
#screen ⇒ Object (readonly)
Returns the value of attribute screen.
12 13 14 |
# File 'lib/nit/command/status.rb', line 12 def screen @screen end |