We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a08277 commit 1211ed7Copy full SHA for 1211ed7
lib/iex/lib/iex/options.ex
@@ -36,6 +36,7 @@ defmodule IEx.Options do
36
@supported_options [
37
colors: [],
38
inspect: [],
39
+ history_size: [],
40
]
41
42
@doc """
@@ -202,6 +203,18 @@ defmodule IEx.Options do
202
203
"""
204
def inspect
205
206
+ @doc """
207
+ **NOTE**: This is just a stub for documentation purposes. Use
208
+ `IEx.Options.get` and `IEx.Options.set` to query and change the option's
209
+ value.
210
+
211
+ Number of expressions and their results to keep in the history.
212
213
+ The value is an integer. When it's less than 0, the history is unlimited.
214
215
+ """
216
+ def history_size
217
218
defp raise_option(name) do
219
raise ArgumentError, message: "Unknown IEx option #{inspect name}"
220
end
0 commit comments