Class: BCMethodEntry

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)

89
90
91
# File 'lib/bitclust/ridatabase.rb', line 89

def bitclust?
  true
end

#fullnameObject


97
98
99
# File 'lib/bitclust/ridatabase.rb', line 97

def fullname
  "#{@entry.klass.name}#{@entry.typemark}#{@name}"
end

#idObject


101
102
103
104
105
106
107
# File 'lib/bitclust/ridatabase.rb', line 101

def id
  if @entry.defined?
    fullname()
  else
    "#{fullname()}.#{@entry.library.name}"
  end
end

#inspectObject


93
94
95
# File 'lib/bitclust/ridatabase.rb', line 93

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