diff options
| author | aguspe <agustin.pe94@gmail.com> | 2025-12-23 18:07:15 +0100 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-12-24 11:03:20 +0900 |
| commit | 6e2bf5df4eeab8e37fab86206d4f2e8ab36a60b7 (patch) | |
| tree | 63151614037a0e5ce8d49e55076ae6d7130de81f /variable.c | |
| parent | ceea8060e4cc94846b2ff32fe8b0bb39049eda2e (diff) | |
[Tests] Assert Module#set_temporary_name returns self
The return value of Module#set_temporary_name was changed
to return `self`, but the existing tests
did not verify this.
Diffstat (limited to 'variable.c')
| -rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 085ba240e4..ff8d24d78a 100644 --- a/variable.c +++ b/variable.c @@ -279,7 +279,7 @@ set_sub_temporary_name(VALUE mod, VALUE name) * m.name #=> nil * * c = Class.new - * c.set_temporary_name("MyClass(with description)") + * c.set_temporary_name("MyClass(with description)") # => MyClass(with description) * * c.new # => #<MyClass(with description):0x0....> * |
