Class: UniformArrayPattern
- Inherits:
-
Object
- Object
- UniformArrayPattern
- Includes:
- HashInitialized, Inspectable
- Defined in:
- lib/json_patterns.rb
Constant Summary
Constants included from Inspectable
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Methods included from HashInitialized
Methods included from Inspectable
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
85 86 87 |
# File 'lib/json_patterns.rb', line 85 def value @value end |
Instance Method Details
#to_s ⇒ Object
87 88 89 |
# File 'lib/json_patterns.rb', line 87 def to_s "array_of(#{value})" end |