Class: Agentilda::Linear::Unit
- Inherits:
-
Data
- Object
- Data
- Agentilda::Linear::Unit
- Defined in:
- lib/agentilda/linear/unit.rb
Overview
One unit of work inside a plan — the thing that becomes a Linear issue.
Instance Attribute Summary collapse
-
#body ⇒ String
readonly
Everything under the heading, as written.
-
#key ⇒ String
readonly
"PR-1" from a plan.md heading, or "#38" from a pull request.
-
#pull_requests ⇒ Array<Agentilda::PullRequest>
readonly
The ones this unit claims.
-
#title ⇒ String
readonly
The heading's words, without the "PR-1 —" part.
Instance Attribute Details
#body ⇒ String (readonly)
Returns everything under the heading, as written.
15 |
# File 'lib/agentilda/linear/unit.rb', line 15 Unit = Data.define(:key, :title, :body, :pull_requests) |
#key ⇒ String (readonly)
Returns "PR-1" from a plan.md heading, or "#38" from a pull request.
15 |
# File 'lib/agentilda/linear/unit.rb', line 15 Unit = Data.define(:key, :title, :body, :pull_requests) |
#pull_requests ⇒ Array<Agentilda::PullRequest> (readonly)
Returns the ones this unit claims.
15 |
# File 'lib/agentilda/linear/unit.rb', line 15 Unit = Data.define(:key, :title, :body, :pull_requests) |
#title ⇒ String (readonly)
Returns the heading's words, without the "PR-1 —" part.
15 |
# File 'lib/agentilda/linear/unit.rb', line 15 Unit = Data.define(:key, :title, :body, :pull_requests) |