Class: Rails::Worktrees::ProjectMaintenance::Check
- Inherits:
-
Struct
- Object
- Struct
- Rails::Worktrees::ProjectMaintenance::Check
- Defined in:
- lib/rails/worktrees/project_maintenance.rb
Instance Attribute Summary collapse
-
#apply_messages ⇒ Object
Returns the value of attribute apply_messages.
-
#category ⇒ Object
Returns the value of attribute category.
-
#headline ⇒ Object
Returns the value of attribute headline.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#make_executable ⇒ Object
Returns the value of attribute make_executable.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_content ⇒ Object
Returns the value of attribute updated_content.
Instance Method Summary collapse
Instance Attribute Details
#apply_messages ⇒ Object
Returns the value of attribute apply_messages
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def @apply_messages end |
#category ⇒ Object
Returns the value of attribute category
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def category @category end |
#headline ⇒ Object
Returns the value of attribute headline
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def headline @headline end |
#identifier ⇒ Object
Returns the value of attribute identifier
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def identifier @identifier end |
#make_executable ⇒ Object
Returns the value of attribute make_executable
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def make_executable @make_executable end |
#messages ⇒ Object
Returns the value of attribute messages
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def @messages end |
#relative_path ⇒ Object
Returns the value of attribute relative_path
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def relative_path @relative_path end |
#status ⇒ Object
Returns the value of attribute status
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def status @status end |
#updated_content ⇒ Object
Returns the value of attribute updated_content
6 7 8 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 6 def updated_content @updated_content end |
Instance Method Details
#fixable? ⇒ Boolean
22 23 24 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 22 def fixable? status == :fixable end |
#ok? ⇒ Boolean
18 19 20 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 18 def ok? status == :ok end |
#updatable? ⇒ Boolean
30 31 32 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 30 def updatable? !updated_content.nil? end |
#warning? ⇒ Boolean
26 27 28 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 26 def warning? status == :warning end |