Class: RI::MethodDescription

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

Overview

reopen

Instance Method Summary collapse

Instance Method Details

#fullnameObject



168
169
170
171
172
173
174
175
176
177
# File 'lib/bitclust/ridatabase.rb', line 168

def fullname
  name = full_name()
  unless /\#/ =~ name
    components = name.split('::')
    m = components.pop
    components.join('::') + '.' + m
  else
    name
  end
end

#singleton_method?Boolean

Returns:

  • (Boolean)


179
180
181
182
# File 'lib/bitclust/ridatabase.rb', line 179

def singleton_method?
  @is_class_method ||= false
  @is_class_method
end