Class: UniformArrayPattern

Inherits:
Object
  • Object
show all
Includes:
HashInitialized, Inspectable
Defined in:
lib/json_patterns.rb

Constant Summary

Constants included from Inspectable

Inspectable::INSPECTING_KEY

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HashInitialized

#initialize

Methods included from Inspectable

#inspect

Instance Attribute Details

#valueObject

Returns the value of attribute value.



85
86
87
# File 'lib/json_patterns.rb', line 85

def value
  @value
end

Instance Method Details

#to_sObject



87
88
89
# File 'lib/json_patterns.rb', line 87

def to_s
  "array_of(#{value})"
end