Class: Hecks::Bluebook::MetaValidator::AdapterJudge
- Inherits:
-
Object
- Object
- Hecks::Bluebook::MetaValidator::AdapterJudge
- Defined in:
- lib/hecks/bluebook/meta_validator/adapter_judge.rb
Overview
Offers a built .adapter to the language that describes adapters.
A sibling of a bluebook again, the same shape PortJudge already is one level over — its own file, its own door, judged through its own self-hosted language (adapter.bluebook) rather than left as a plain Ruby struct nothing checks. Whole-project table-unification survey, item #13's remaining builders.
Instance Attribute Summary collapse
-
#refusals ⇒ Object
readonly
Returns the value of attribute refusals.
Instance Method Summary collapse
-
#initialize(adapter) ⇒ AdapterJudge
constructor
A new instance of AdapterJudge.
Constructor Details
#initialize(adapter) ⇒ AdapterJudge
Returns a new instance of AdapterJudge.
14 15 16 17 18 19 |
# File 'lib/hecks/bluebook/meta_validator/adapter_judge.rb', line 14 def initialize(adapter) @adapter = adapter @refusals = [] @runtime = MetaValidator.fresh_runtime judge! end |
Instance Attribute Details
#refusals ⇒ Object (readonly)
Returns the value of attribute refusals.
12 13 14 |
# File 'lib/hecks/bluebook/meta_validator/adapter_judge.rb', line 12 def refusals @refusals end |