Class: RI::MethodDescription

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

Overview

reopen

Instance Method Summary collapse

Instance Method Details

#fullnameObject


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

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)

177
178
179
180
# File 'lib/bitclust/ridatabase.rb', line 177

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