Class: RiMethodEntry

Inherits:
Ent show all
Defined in:
lib/bitclust/ridatabase.rb

Instance Attribute Summary

Attributes inherited from Ent

#entry, #name

Instance Method Summary collapse

Methods inherited from Ent

#<=>, #==, #hash, #initialize

Constructor Details

This class inherits a constructor from Ent

Instance Method Details

#bitclust?Boolean

Returns:

  • (Boolean)

111
112
113
# File 'lib/bitclust/ridatabase.rb', line 111

def bitclust?
  false
end

#fullnameObject


123
124
125
126
# File 'lib/bitclust/ridatabase.rb', line 123

def fullname
  c, t, m = @entry.fullname.split(/([\.\#])/, 2)
  "#{c}#{t}#{@name}"
end

#inspectObject


115
116
117
# File 'lib/bitclust/ridatabase.rb', line 115

def inspect
  "\#<RDoc #{@name} #{@entry.fullname}>"
end

#singleton_method?Boolean

Returns:

  • (Boolean)

119
120
121
# File 'lib/bitclust/ridatabase.rb', line 119

def singleton_method?
  @entry.singleton_method?
end