Class: Contraction::SizedContainer
- Inherits:
-
TypedContainer
- Object
- TypedContainer
- Contraction::SizedContainer
- Defined in:
- lib/parser/type_parser.rb
Instance Attribute Summary
Attributes inherited from TypedContainer
Instance Method Summary collapse
Methods inherited from TypedContainer
Constructor Details
This class inherits a constructor from Contraction::TypedContainer
Instance Method Details
#check(thing) ⇒ Object
124 125 126 |
# File 'lib/parser/type_parser.rb', line 124 def check(thing) super && thing.size == type_list.size end |