Skip to content

Commit 47feb1b

Browse files
author
Thomaz Leite
committed
Fix other references to IO.ANSI.Docs
1 parent f98afc1 commit 47feb1b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/iex/lib/iex/introspection.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ defmodule IEx.Introspection do
1414
{ _, binary } when is_binary(binary) ->
1515
use_ansi = IO.ANSI.terminal?
1616
colors = IEx.Options.get(:colors)
17-
IEx.ANSIDocs.print_heading(inspect(module), use_ansi, colors)
18-
IEx.ANSIDocs.print(binary, use_ansi, colors)
17+
IO.ANSI.Docs.print_heading(inspect(module), use_ansi, colors)
18+
IO.ANSI.Docs.print(binary, use_ansi, colors)
1919
{ _, _ } ->
2020
nodocs(inspect module)
2121
_ ->
@@ -162,8 +162,8 @@ defmodule IEx.Introspection do
162162
args = Enum.map_join(args, ", ", &print_doc_arg(&1))
163163
use_ansi = IO.ANSI.terminal?
164164
colors = IEx.Options.get(:colors)
165-
IEx.ANSIDocs.print_heading("#{kind} #{fun}(#{args})", use_ansi, colors)
166-
if doc, do: IEx.ANSIDocs.print(doc, use_ansi, colors)
165+
IO.ANSI.Docs.print_heading("#{kind} #{fun}(#{args})", use_ansi, colors)
166+
if doc, do: IO.ANSI.Docs.print(doc, use_ansi, colors)
167167
end
168168

169169
defp print_doc_arg({ ://, _, [left, right] }) do

lib/iex/lib/iex/options.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ defmodule IEx.Options do
167167
Same as `help/1` but instead of returning a string, prints it.
168168
"""
169169
def print_help(name) do
170-
IEx.ANSIDocs.print help(name)
170+
IO.ANSI.Docs.print help(name)
171171
end
172172

173173
@doc """

0 commit comments

Comments
 (0)