Sha256: ab7ad168c152c5bc0474f06da039a58fde956196ec9f5fee419bbe771c6d348d

Contents?: true

Size: 351 Bytes

Versions: 13

Compression:

Stored size: 351 Bytes

Contents

# encoding: utf-8

# TODO more ;)

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

complete(:method=>"Object#ri") {|e|
 if e.arguments.empty?
   [':']
 else
   # from bond send
   (e.object.methods + e.object.private_methods(false)).map {|e| e.to_s } - Mission::OPERATORS
 end
}

# J-_-L

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
irbtools-more-1.7.2 lib/bond/completions/irbtools.rb
irbtools-more-1.7.1 lib/bond/completions/irbtools.rb
irbtools-more-1.7.0 lib/bond/completions/irbtools.rb
irbtools-more-1.6.1 lib/bond/completions/irbtools.rb
irbtools-more-1.6.0 lib/bond/completions/irbtools.rb
irbtools-more-1.5.2 lib/bond/completions/irbtools.rb
irbtools-more-1.5.1 lib/bond/completions/irbtools.rb
irbtools-more-1.5.0 lib/bond/completions/irbtools.rb
irbtools-more-1.4.0 lib/bond/completions/irbtools.rb
irbtools-more-1.2.0 lib/bond/completions/irbtools.rb
irbtools-more-0.3.2 lib/bond/completions/irbtools.rb
irbtools-more-0.3.1 lib/bond/completions/irbtools.rb
irbtools-more-0.3.0 lib/bond/completions/irbtools.rb