Parent

Methods

Class Index [+]

Quicksearch

RKelly::Nodes::ResolveNode

Public Instance Methods

==(other) click to toggle source

(Not documented)

# File lib/rkelly/nodes/resolve_node.rb, line 4
      def ==(other)
        return true if super
        if @value =~ /^[A-Z]/
          place = [Object, Module, RKelly::Nodes].find { |x|
            x.const_defined?(@value.to_sym)
          }
          return false unless place
          klass = place.const_get(@value.to_sym)
          return true if klass && other.is_a?(klass) || other.value.is_a?(klass)
        end
        false
      end
Also aliased as: =~
=~(other) click to toggle source

Alias for #==

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.