class Seahorse::Model::Shapes::Map
Attributes
key[R]
@return [Shape]
max[R]
@return [Integer, nil]
min[R]
@return [Integer, nil]
value[R]
@return [Shape]
Public Class Methods
new(definition, options = {})
click to toggle source
Calls superclass method
Seahorse::Model::Shapes::Shape.new
# File lib/seahorse/model/shapes.rb, line 330 def initialize(definition, options = {}) super @min = definition['min'] @max = definition['max'] @key = shape_at('key') @value = shape_at('value') end