Class: Hecks::Bluebook::MetaValidator::PortJudge

Inherits:
Object
  • Object
show all
Defined in:
lib/hecks/bluebook/meta_validator/port_judge.rb

Overview

Offers a built .port to the language that describes ports.

A port is a SIBLING of a bluebook, the same shape WorldJudge already is one level over — its own file, its own door, judged through its own self-hosted language (port.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(port) ⇒ PortJudge

Returns a new instance of PortJudge.



14
15
16
17
18
19
# File 'lib/hecks/bluebook/meta_validator/port_judge.rb', line 14

def initialize(port)
  @port     = port
  @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/port_judge.rb', line 12

def refusals
  @refusals
end