class WsdlMapper::Dom::TypeBase

Attributes

documentation[RW]
name[R]

Public Class Methods

new(name) click to toggle source
# File lib/wsdl_mapper/dom/type_base.rb, line 9
def initialize(name)
  @name = name
  @documentation = Documentation.new
end
to_proc() click to toggle source
# File lib/wsdl_mapper/dom/type_base.rb, line 26
def self.to_proc
  -> (obj) { obj.is_a? self }
end

Public Instance Methods

==(other) click to toggle source
# File lib/wsdl_mapper/dom/type_base.rb, line 18
def ==(other)
  eql? other
end
eql?(other) click to toggle source
Calls superclass method
# File lib/wsdl_mapper/dom/type_base.rb, line 22
def eql?(other)
  name ? (self.class == other.class && name == other.name) : super
end
hash() click to toggle source
Calls superclass method
# File lib/wsdl_mapper/dom/type_base.rb, line 14
def hash
  name ? [self.class, name].hash : super
end