mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Rename builtin attr :inline to :leaf
This commit is contained in:
parent
0c0c88d383
commit
94da5f7c36
7 changed files with 23 additions and 26 deletions
|
@ -16,7 +16,7 @@ module Kernel
|
|||
#++
|
||||
#
|
||||
def class
|
||||
Primitive.attr! :inline
|
||||
Primitive.attr! :leaf
|
||||
Primitive.cexpr! 'rb_obj_class(self)'
|
||||
end
|
||||
|
||||
|
@ -65,7 +65,7 @@ module Kernel
|
|||
#++
|
||||
#
|
||||
def frozen?
|
||||
Primitive.attr! :inline
|
||||
Primitive.attr! :leaf
|
||||
Primitive.cexpr! 'rb_obj_frozen_p(self)'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue