Actions
Feature #11905
closedChange the 'class' keyword to return a symbol
Feature #11905:
Change the 'class' keyword to return a symbol
Status:
Closed
Assignee:
-
Target version:
-
Description
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Related to Feature #8839: Class and module should return the class or module that was opened added
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
It returns the last value inside the block, as well as begin/end block, not nil.
Updated by yuki24 (Yuki Nishijima) over 10 years ago
- Status changed from Open to Closed
I am totally aware of the current behaviour that you mentioned, but I'll close this issue since this is a duplicate.
Actions