Class: Agentilda::Unblocker::Target
- Inherits:
-
Data
- Object
- Data
- Agentilda::Unblocker::Target
- Defined in:
- lib/agentilda/unblocker.rb
Overview
One token from the command line, once the tree has had a look at it.
Instance Attribute Summary collapse
-
#problem ⇒ Symbol?
readonly
:missing, :not_blocked, or nil when it is drainable.
- #subject ⇒ Agentilda::Subject? readonly
-
#token ⇒ String
readonly
What the user typed.
Instance Method Summary collapse
Instance Attribute Details
#problem ⇒ Symbol? (readonly)
Returns :missing, :not_blocked, or nil when it is drainable.
41 42 43 44 |
# File 'lib/agentilda/unblocker.rb', line 41 Target = Data.define(:token, :subject, :problem) do # @return [Boolean] def drainable? = problem.nil? end |
#subject ⇒ Agentilda::Subject? (readonly)
41 42 43 44 |
# File 'lib/agentilda/unblocker.rb', line 41 Target = Data.define(:token, :subject, :problem) do # @return [Boolean] def drainable? = problem.nil? end |
#token ⇒ String (readonly)
Returns what the user typed.
41 42 43 44 |
# File 'lib/agentilda/unblocker.rb', line 41 Target = Data.define(:token, :subject, :problem) do # @return [Boolean] def drainable? = problem.nil? end |
Instance Method Details
#drainable? ⇒ Boolean
43 |
# File 'lib/agentilda/unblocker.rb', line 43 def drainable? = problem.nil? |