Class: Wlog::DeleteIssue
- Inherits:
-
Object
- Object
- Wlog::DeleteIssue
- Defined in:
- lib/wlog/commands/delete_issue.rb
Overview
Instance Attribute Summary collapse
-
#deleted ⇒ Object
readonly
Returns the value of attribute deleted.
Instance Method Summary collapse
- #deleted? ⇒ Boolean
-
#execute ⇒ Object
delete the issue.
-
#initialize(db, id) ⇒ DeleteIssue
constructor
Init with the db handle, and issue id.
Constructor Details
#initialize(db, id) ⇒ DeleteIssue
Init with the db handle, and issue id
9 10 11 12 13 |
# File 'lib/wlog/commands/delete_issue.rb', line 9 def initialize(db, id) @db = db @issue_id = id @deleted = false end |
Instance Attribute Details
#deleted ⇒ Object (readonly)
Returns the value of attribute deleted.
28 29 30 |
# File 'lib/wlog/commands/delete_issue.rb', line 28 def deleted @deleted end |
Instance Method Details
#deleted? ⇒ Boolean
24 25 26 |
# File 'lib/wlog/commands/delete_issue.rb', line 24 def deleted? @deleted end |