Class: T::Private::Methods::DeclarationBlock
- Inherits:
-
Struct
- Object
- Struct
- T::Private::Methods::DeclarationBlock
- Defined in:
- lib/types/private/methods/_methods.rb
Overview
blk_or_decl:
-
It’s a ‘Proc` if we haven’t forced the thunk yet.
-
It’s a ‘Declaration` if we have, but we haven’t finished building the sig (This can matter for circular load-time behavior, where a method is called while its Signature is being built)
-
It’s ‘nil` if we’ve finished building the sig
Instance Attribute Summary collapse
-
#blk_or_decl ⇒ Object
Returns the value of attribute blk_or_decl.
-
#final ⇒ Object
Returns the value of attribute final.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#mod ⇒ Object
Returns the value of attribute mod.
-
#raw ⇒ Object
Returns the value of attribute raw.
Instance Attribute Details
#blk_or_decl ⇒ Object
Returns the value of attribute blk_or_decl
43 44 45 |
# File 'lib/types/private/methods/_methods.rb', line 43 def blk_or_decl @blk_or_decl end |
#final ⇒ Object
Returns the value of attribute final
43 44 45 |
# File 'lib/types/private/methods/_methods.rb', line 43 def final @final end |
#loc ⇒ Object
Returns the value of attribute loc
43 44 45 |
# File 'lib/types/private/methods/_methods.rb', line 43 def loc @loc end |
#mod ⇒ Object
Returns the value of attribute mod
43 44 45 |
# File 'lib/types/private/methods/_methods.rb', line 43 def mod @mod end |
#raw ⇒ Object
Returns the value of attribute raw
43 44 45 |
# File 'lib/types/private/methods/_methods.rb', line 43 def raw @raw end |