1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Split out ri display code and make pluggable

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-01-06 05:59:31 +00:00
parent fbae4f97ee
commit 9a826fff23
4 changed files with 19 additions and 296 deletions

View file

@ -3,6 +3,8 @@
module RI
require 'rdoc/ri/ri_display'
VERSION_STRING = "alpha 0.1"
class Options
@ -201,6 +203,14 @@ module RI
def paths
@doc_dir ? [ @doc_dir ] : nil
end
# Return an instance of the displayer (the thing that actually writes
# the information). This allows us to load in new displayer classes
# at runtime (for example to help with IDE integration)
def displayer
::RiDisplay.new(self)
end
end
end