Class: Hecks::Bluebook::MetaValidator::AdapterJudge

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#refusalsObject (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