Class: Diogenes::Evaluation::Gate
- Inherits:
-
Object
- Object
- Diogenes::Evaluation::Gate
- Defined in:
- lib/diogenes/evaluation/gate.rb
Instance Attribute Summary collapse
-
#explanation ⇒ Object
readonly
: String.
-
#fail_message ⇒ Object
readonly
: String.
-
#key ⇒ Object
readonly
: Symbol.
-
#name ⇒ Object
readonly
: String.
-
#principle ⇒ Object
readonly
: String.
-
#question ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(key:, name:, principle:, explanation:, question:, fail_message:) ⇒ Gate
constructor
: (key: Symbol, name: String, principle: String, explanation: String, question: String, fail_message: String) -> void.
Constructor Details
#initialize(key:, name:, principle:, explanation:, question:, fail_message:) ⇒ Gate
: (key: Symbol, name: String, principle: String, explanation: String, question: String, fail_message: String) -> void
15 16 17 18 19 20 21 22 |
# File 'lib/diogenes/evaluation/gate.rb', line 15 def initialize(key:, name:, principle:, explanation:, question:, fail_message:) @key = key @name = name @principle = principle @explanation = explanation @question = question @fail_message = end |
Instance Attribute Details
#explanation ⇒ Object (readonly)
: String
10 11 12 |
# File 'lib/diogenes/evaluation/gate.rb', line 10 def explanation @explanation end |
#fail_message ⇒ Object (readonly)
: String
12 13 14 |
# File 'lib/diogenes/evaluation/gate.rb', line 12 def @fail_message end |
#key ⇒ Object (readonly)
: Symbol
7 8 9 |
# File 'lib/diogenes/evaluation/gate.rb', line 7 def key @key end |
#name ⇒ Object (readonly)
: String
8 9 10 |
# File 'lib/diogenes/evaluation/gate.rb', line 8 def name @name end |
#principle ⇒ Object (readonly)
: String
9 10 11 |
# File 'lib/diogenes/evaluation/gate.rb', line 9 def principle @principle end |
#question ⇒ Object (readonly)
: String
11 12 13 |
# File 'lib/diogenes/evaluation/gate.rb', line 11 def question @question end |