Class: Steep::AST::MethodType::Params::RestKeyword
- Defined in:
- lib/steep/ast/method_type.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(location:, type:) ⇒ RestKeyword
constructor
A new instance of RestKeyword.
Methods inherited from Base
Constructor Details
#initialize(location:, type:) ⇒ RestKeyword
Returns a new instance of RestKeyword.
82 83 84 85 |
# File 'lib/steep/ast/method_type.rb', line 82 def initialize(location:, type:) super(location: location) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
80 81 82 |
# File 'lib/steep/ast/method_type.rb', line 80 def type @type end |