Class: Mingle::AtomicTypeReference
- Inherits:
-
MingleTypeReference
- Object
- BitGirderClass
- MingleTypeReference
- Mingle::AtomicTypeReference
- Defined in:
- lib/mingle.rb
Instance Method Summary collapse
Methods inherited from MingleTypeReference
Methods included from StringParser
Instance Method Details
#external_form ⇒ Object
1969 1970 1971 1972 1973 1974 1975 |
# File 'lib/mingle.rb', line 1969 def external_form res = @name.external_form.dup ( res << "~" << @restriction.external_form ) if @restriction res end |
#hash ⇒ Object
1964 1965 1966 |
# File 'lib/mingle.rb', line 1964 def hash [ @name, @restriction ].hash end |