Class: RBS::AST::Declarations::ModuleTypeParams::TypeParam
- Inherits:
-
Struct
- Object
- Struct
- RBS::AST::Declarations::ModuleTypeParams::TypeParam
- Defined in:
- lib/rbs/ast/declarations.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#skip_validation ⇒ Object
Returns the value of attribute skip_validation.
-
#variance ⇒ Object
Returns the value of attribute variance.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/rbs/ast/declarations.rb', line 7 def name @name end |
#skip_validation ⇒ Object
Returns the value of attribute skip_validation
7 8 9 |
# File 'lib/rbs/ast/declarations.rb', line 7 def skip_validation @skip_validation end |
#variance ⇒ Object
Returns the value of attribute variance
7 8 9 |
# File 'lib/rbs/ast/declarations.rb', line 7 def variance @variance end |
Instance Method Details
#to_json(*a) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rbs/ast/declarations.rb', line 8 def to_json(*a) { name: name, variance: variance, skip_validation: skip_validation, }.to_json(*a) end |