aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-05-18 19:05:28 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-05-18 19:05:28 +0200
commit1b5ab3608488e0cbbc75933a59af1fa7e2ff60b0 (patch)
tree174c8e8d96ba52dc340b13c449521eca376cc4c3 /protocols/jabber/jabber.h
parent41e520279f8633d11f79623574b40af7f8949403 (diff)
User-Agent: header.
Diffstat (limited to 'protocols/jabber/jabber.h')
0 files changed, 0 insertions, 0 deletions
10'>hotfix/0.20.0.10 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rdoc-2.4.3/lib/rdoc/include.rb
blob: 9be90615899fd305345dac79ed51bee43e60eaec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'rdoc/code_object'

##
# A Module include in a class with \#include

class RDoc::Include < RDoc::CodeObject

  ##
  # Name of included module

  attr_accessor :name

  ##
  # Creates a new Include for +name+ with +comment+

  def initialize(name, comment)
    super()
    @name = name
    self.comment = comment
  end

  def inspect # :nodoc:
    "#<%s:0x%x %s.include %s>" % [
      self.class,
      object_id,
      parent_name, @name,
    ]
  end

  ##
  # Attempts to locate the included module object.  Returns the name if not
  # known.

  def module
    RDoc::TopLevel.find_module_named(@name) || @name
  end

end