Class: Hecks::Bluebook::MetaValidator::PortJudge
- Inherits:
-
Object
- Object
- Hecks::Bluebook::MetaValidator::PortJudge
- 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
-
#refusals ⇒ Object
readonly
Returns the value of attribute refusals.
Instance Method Summary collapse
-
#initialize(port) ⇒ PortJudge
constructor
A new instance of PortJudge.
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
#refusals ⇒ Object (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 |