Class: FastRI::RiService

Class | FastRI::RiService
In: | lib/fastri/ri_service.rb
Parent: | Object

### Methods

all_classes all_methods args class_list class_list_with_flag completion_list info matches new obtain_entries

### Classes and Modules

Class FastRI::RiService::MatchFinder

### Constants

Options | = | Struct.new(:formatter, :use_stdout, :width)
DEFAULT_OBTAIN_ENTRIES_OPTIONS | = | { :lookup_order => [ :exact, :exact_ci, :nested, :nested_ci, :partial, :partial_ci, :nested_partial, :nested_partial_ci, ], }
DEFAULT_INFO_OPTIONS | = | { :formatter => :ansi, :width => 72, :extended => false, :expand_choices => false, }
DEFAULT_DISPLAY_OPTIONS | = | { :formatter => :ansi, :width => 72, }

### Public Class methods

new(ri_reader)

### Public Instance methods

all_classes()

Return array of strings with the names of all known classes.

all_methods()

Return array of strings with the names of all known methods.

args(keyword, options = {})
class_list(keyword)

Returns a list with the names of the modules/classes that define the given method, or `nil`.

class_list_with_flag(keyword)

Returns a list with the names of the modules/classes that define the given method, followed by a flag (#|::), or `nil`. e.g. ["Array#", "IO#", "IO::", … ]

completion_list(keyw)
info(keyw, options = {})
matches(keyword, options = {})
obtain_entries(descriptor, options = {})

[Validate]