Class: Mingle::ListTypeReference

Inherits:
MingleTypeReference show all
Defined in:
lib/mingle.rb

Instance Method Summary collapse

Methods inherited from MingleTypeReference

impl_parse, #to_s

Methods included from StringParser

included

Instance Method Details

#external_formObject



2041
2042
2043
# File 'lib/mingle.rb', line 2041

def external_form
    "#{@element_type.external_form}#{@allows_empty ? "*" : "+"}"
end

#hashObject



2036
2037
2038
# File 'lib/mingle.rb', line 2036

def hash
    [ @element_type, @allows_empty ].hash
end