Class: Command::PermissiveSubject

Inherits:
Subject
  • Object
show all
Defined in:
lib/command-set/interpreter/quick.rb

Overview

A looser Subject, used by QuickInterpreter for testing purposes. Normally, a Subject doesn’t allow reads from it’s fields - you have to explicitly call get_image. This class allows reads, which makes testing easier.

Constant Summary

Constants inherited from Subject

Subject::Undefined

Method Summary

Methods inherited from Subject

#absorb, #get_image, #initialize, #merge, #protect, #required_fields, #verify

Constructor Details

This class inherits a constructor from Command::Subject