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
10 11 12 |
# File 'lib/rbs/ast/declarations.rb', line 10 def name @name end |
#skip_validation ⇒ Object
Returns the value of attribute skip_validation
10 11 12 |
# File 'lib/rbs/ast/declarations.rb', line 10 def skip_validation @skip_validation end |
#variance ⇒ Object
Returns the value of attribute variance
10 11 12 |
# File 'lib/rbs/ast/declarations.rb', line 10 def variance @variance end |
Instance Method Details
#to_json(*a) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rbs/ast/declarations.rb', line 11 def to_json(*a) { name: name, variance: variance, skip_validation: skip_validation, }.to_json(*a) end |