Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions core/complex.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,6 @@
# * #fdiv: Returns <code>Complex.rect(self.real/numeric,
# self.imag/numeric)</code>.
#
# ### Working with JSON
#
# * ::json_create: Returns a new Complex object, deserialized from the given
# serialized hash.
# * #as_json: Returns a serialized hash constructed from `self`.
# * #to_json: Returns a JSON string representing `self`.
#
# These methods are provided by the [JSON gem](https://github.com/ruby/json). To
# make these methods available:
#
# require 'json/add/complex'
#
class Complex < Numeric
# <!--
# rdoc-file=complex.c
Expand Down
11 changes: 0 additions & 11 deletions core/range.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,6 @@
# * #to_a (aliased as #entries): Returns elements of `self` in an array.
# * #to_s: Returns a string representation of `self` (uses #to_s).
#
# ### Methods for Working with JSON
#
# * ::json_create: Returns a new Range object constructed from the given
# object.
# * #as_json: Returns a 2-element hash representing `self`.
# * #to_json: Returns a JSON string representing `self`.
#
# To make these methods available:
#
# require 'json/add/range'
#
class Range[out E] < Object
include Enumerable[E]

Expand Down
Loading
Loading