Class: Chelsy::Param
Overview
Function and prototype params
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(name, type, register: false, **rest) ⇒ Param
constructor
A new instance of Param.
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
277 278 279 |
# File 'lib/chelsy/ast.rb', line 277 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
277 278 279 |
# File 'lib/chelsy/ast.rb', line 277 def type @type end |