Skip to content
Merged
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
2 changes: 0 additions & 2 deletions core/binding.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
class Binding
def clone: () -> self

def dup: () -> self

# <!--
# rdoc-file=proc.c
# - binding.eval(string [, filename [,lineno]]) -> obj
Expand Down
2 changes: 0 additions & 2 deletions core/complex.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,6 @@ class Complex < Numeric

def divmod: (Numeric) -> bot

def dup: () -> self

def eql?: (untyped) -> bool

# <!--
Expand Down
2 changes: 0 additions & 2 deletions core/float.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,6 @@ class Float < Numeric
def divmod: (Integer | Float | Rational) -> [ Integer, Float ]
| (Numeric) -> [ Numeric, Numeric ]

def dup: () -> self

# <!--
# rdoc-file=numeric.c
# - eql?(other) -> true or false
Expand Down
2 changes: 0 additions & 2 deletions core/integer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,6 @@ class Integer < Numeric
def downto: (Numeric limit) { (Integer) -> void } -> Integer
| (Numeric limit) -> ::Enumerator[Integer, self]

def dup: () -> self

def eql?: (untyped) -> bool

# <!--
Expand Down
2 changes: 0 additions & 2 deletions core/method.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ class Method
#
def hash: () -> Integer

def dup: () -> self

# <!--
# rdoc-file=proc.c
# - meth.to_s -> string
Expand Down
1 change: 0 additions & 1 deletion core/proc.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ class Proc
def self.new: () { (?) -> untyped } -> instance

def clone: () -> self
def dup: () -> self

# <!-- rdoc-file=proc.c -->
# Invokes the block, setting the block's parameters to the values in *params*
Expand Down
2 changes: 0 additions & 2 deletions core/rational.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ class Rational < Numeric
def divmod: (Integer | Float | Rational) -> [ Integer, Rational ]
| (Numeric) -> [ Numeric, Numeric ]

def dup: () -> self

def eql?: (untyped) -> bool

# <!--
Expand Down
5 changes: 0 additions & 5 deletions test/stdlib/Binding_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ def test_clone
binding, :clone
end

def test_dup
assert_send_type '() -> Binding',
binding, :dup
end

def test_eval
with_string '123' do |src|
assert_send_type '(string) -> untyped',
Expand Down