Class: Object

Inherits:
BasicObject
Defined in:
lib/neovim/logging.rb,
lib/neovim/ruby_provider.rb

Instance Method Summary collapse

Instance Method Details

#class_nameObject



9
10
11
12
13
# File 'lib/neovim/logging.rb', line 9

def class_name
  obj = self
  while not obj.is_a? Module do obj = obj.class end
  obj.plain_name
end

#empty_bindingObject

Poor, poor RubyGems is polluting the global namespace. see <github.com/rubygems/rubygems/pull/7200>



13
14
15
# File 'lib/neovim/ruby_provider.rb', line 13

def empty_binding
  binding
end