Top Level Namespace

Defined Under Namespace

Modules: Bond

Instance Method Summary collapse

Instance Method Details

#dummy_makefileObject

placate rubygems when running ‘make install`



2
3
4
5
6
# File 'ext/readline_line_buffer/extconf.rb', line 2

def dummy_makefile
  File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f|
    f.puts %[install:\n\techo "This is a dummy extension"]
  }
end

#send_methods(obj) ⇒ Object



19
20
21
# File 'lib/bond/completions/object.rb', line 19

def send_methods(obj)
  (obj.methods + obj.private_methods(false)).map {|e| e.to_s } - Mission::OPERATORS
end