class ServiceContract::Avro::MapValue
Public Instance Methods
name()
click to toggle source
# File lib/service_contract/avro/type.rb, line 34 def name definition.name end
valid_ruby_types()
click to toggle source
# File lib/service_contract/avro/type.rb, line 42 def valid_ruby_types definition.valid_ruby_types end
valid_type?(value)
click to toggle source
# File lib/service_contract/avro/type.rb, line 37 def valid_type?(value) value.is_a?(Array) && value.length == 2 && definition.valid_type?(value[1]) end