Class: RBS::AST::Members::ClassInstanceVariable
- Inherits:
-
Object
- Object
- RBS::AST::Members::ClassInstanceVariable
- Includes:
- Var
- Defined in:
- lib/rbs/ast/members.rb
Instance Attribute Summary
Attributes included from Var
#comment, #location, #name, #type
Instance Method Summary collapse
Methods included from Var
Instance Method Details
#to_json(*a) ⇒ Object
99 100 101 102 103 104 105 106 107 |
# File 'lib/rbs/ast/members.rb', line 99 def to_json(*a) { member: :class_instance_variable, name: name, type: type, location: location, comment: comment }.to_json(*a) end |