Class/Module Index [+]

Quicksearch

YARD::Tags::OverloadTag

Attributes

docstring[R]
parameters[R]
signature[R]

Public Class Methods

new(tag_name, text) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 6
def initialize(tag_name, text)
  super(tag_name, nil)
  parse_tag(text)
  parse_signature
end

Public Instance Methods

has_tag?(name) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 14
def has_tag?(name) docstring.has_tag?(name) end
is_a?(other) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 34
def is_a?(other)
  object.is_a?(other) || self.class >= other.class || false
end
Also aliased as: kind_of?
kind_of?(other) click to toggle source
Alias for: is_a?
method_missing(*args, &block) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 26
def method_missing(*args, &block)
  object.send(*args, &block)
end
name(prefix = false) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 21
def name(prefix = false)
  return @name unless prefix
  object.scope == :class ? @name.to_s : "#{object.send(:sep)}#{@name}"
end
object=(value) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 16
def object=(value)
  super(value)
  docstring.object = value
end
tag(name) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 12
def tag(name) docstring.tag(name) end
tags(name = nil) click to toggle source
# File lib/yard/tags/overload_tag.rb, line 13
def tags(name = nil) docstring.tags(name) end
type() click to toggle source
# File lib/yard/tags/overload_tag.rb, line 30
def type
  object.type
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.