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)


113
114
115
# File 'lib/bitclust/ridatabase.rb', line 113

def bitclust?
  false
end

#fullnameObject



125
126
127
128
# File 'lib/bitclust/ridatabase.rb', line 125

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

#inspectObject



117
118
119
# File 'lib/bitclust/ridatabase.rb', line 117

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

#singleton_method?Boolean

Returns:

  • (Boolean)


121
122
123
# File 'lib/bitclust/ridatabase.rb', line 121

def singleton_method?
  @entry.singleton_method?
end