Permalink
Browse files

Fix.

  • Loading branch information...
1 parent f2eef60 commit 48ba80aca549b3a9bfb1e14d62bdc2f11b31a2bd Alex Fortuna committed Mar 8, 2012
Showing with 11 additions and 6 deletions.
  1. +1 −1 MIT-LICENSE
  2. +1 −0 README.md
  3. +6 −4 lib/ori.rb
  4. +2 −1 lib/ori/list_method.rb
  5. +1 −0 lib/ori/tools.rb
View
@@ -1,4 +1,4 @@
-Copyright (c) 2011 Alex Fortuna
+Copyright (c) 2011-2012 Alex Fortuna
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
@@ -8,6 +8,7 @@ Object-oriented `ri` for IRB console
* [RVM setup](#rvm_setup)
* [Rails 3.x+Bundler setup](#rails_3_bundler_setup)
* [Local project doc setup](#local_project_doc_setup)
+* [Usage](#usage)
* [Configuration](#configuration)
* [Compatibility](#compatibility)
* [Copyright](#copyright)
View
@@ -1,6 +1,7 @@
require "rbconfig"
-Dir[File.join(File.dirname(__FILE__), "{ext,misc,ori}/**/*.rb")].each do |fn|
+# TODO: Remove `File.dirname`, use `expand_path`.
+Dir[File.join(File.dirname(__FILE__), "**/*.rb")].each do |fn|
require File.expand_path(fn)
end
@@ -18,11 +19,12 @@
# $ irb
# irb> Array.ri
#
-# You should see RI page on <tt>Array</tt>.
+# You should see RI page on Array.
#
# See also:
-# * <tt>ORI::Extensions::Object#ri</tt>
-# * <tt>ORI::conf</tt>
+#
+# * ORI::Extensions::Object#ri
+# * ORI::conf
module ORI
# Get configuration object to query or set its values.
# Note that default values are set automatically based on your OS and environment.
@@ -131,9 +131,10 @@ def visibility
#---------------------------------------
# Format self into a string.
+ #
# Options:
#
- # :color => true|false
+ # :color => T|F # Default is true.
def format(options = {})
options = options.dup
o = {}
View
@@ -49,6 +49,7 @@ def self.ansi(*attrs)
end
# Inspect an object with various inspectors.
+ #
# Options:
#
# :inspectors => [] # Array of inspectors, e.g. [:public_instance_methods].

0 comments on commit 48ba80a

Please sign in to comment.