Class: Mingle::QualifiedTypeName
- Inherits:
-
BitGirderClass
- Object
- BitGirderClass
- Mingle::QualifiedTypeName
- Includes:
- StringParser
- Defined in:
- lib/mingle.rb
Class Method Summary collapse
Instance Method Summary collapse
- #external_form ⇒ Object (also: #to_s)
- #hash ⇒ Object
Methods included from StringParser
Class Method Details
.impl_parse(s) ⇒ Object
1881 1882 1883 |
# File 'lib/mingle.rb', line 1881 def self.impl_parse( s ) MingleParser.consume_string( s ) { |p| p.expect_qname } end |
Instance Method Details
#external_form ⇒ Object Also known as: to_s
1891 1892 1893 |
# File 'lib/mingle.rb', line 1891 def external_form "#{@namespace.external_form}/#{@name.external_form}" end |
#hash ⇒ Object
1886 1887 1888 |
# File 'lib/mingle.rb', line 1886 def hash [ @namespace, @name ].hash end |