Class: Agentilda::Linear::Survey::Match
- Inherits:
-
Data
- Object
- Data
- Agentilda::Linear::Survey::Match
- Defined in:
- lib/agentilda/linear/survey.rb
Overview
How a project and a plan were found to be the same thing.
Both rules are exact after normalising; neither is fuzzy. A near-match is reported as a near-match, because a project silently adopted by the wrong plan is worse than one nobody adopted at all.
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#rule ⇒ Object
readonly
Returns the value of attribute rule.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project
23 24 25 |
# File 'lib/agentilda/linear/survey.rb', line 23 def project @project end |
#rule ⇒ Object (readonly)
Returns the value of attribute rule
23 24 25 |
# File 'lib/agentilda/linear/survey.rb', line 23 def rule @rule end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject
23 24 25 |
# File 'lib/agentilda/linear/survey.rb', line 23 def subject @subject end |
Instance Method Details
#why ⇒ String
25 |
# File 'lib/agentilda/linear/survey.rb', line 25 def why = {ordinal: "its name carries the plan number", slug: "its name is the plan's slug"}.fetch(rule) |