Class: Hecks::Bluebook::MetaValidator::WorldJudge
- Inherits:
-
Object
- Object
- Hecks::Bluebook::MetaValidator::WorldJudge
- Defined in:
- lib/hecks/bluebook/meta_validator/world_judge.rb
Overview
Offers a built .world to the language that describes worlds.
A world is a SIBLING of a bluebook — the same domain runs in many of them — so it is judged through its own door, against its own language file, and its settings normalise the same way a mutation's fields do: an open map becomes one Wiring per verb and one Setting row per value.
Instance Attribute Summary collapse
-
#refusals ⇒ Object
readonly
Returns the value of attribute refusals.
Instance Method Summary collapse
-
#initialize(world) ⇒ WorldJudge
constructor
A new instance of WorldJudge.
Constructor Details
#initialize(world) ⇒ WorldJudge
Returns a new instance of WorldJudge.
13 14 15 16 17 18 |
# File 'lib/hecks/bluebook/meta_validator/world_judge.rb', line 13 def initialize(world) @world = world @refusals = [] @runtime = MetaValidator.fresh_runtime judge! end |
Instance Attribute Details
#refusals ⇒ Object (readonly)
Returns the value of attribute refusals.
11 12 13 |
# File 'lib/hecks/bluebook/meta_validator/world_judge.rb', line 11 def refusals @refusals end |