Class: RBS::AST::Members::ClassVariable
- Inherits:
-
Object
- Object
- RBS::AST::Members::ClassVariable
- 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
113 114 115 116 117 118 119 120 121 |
# File 'lib/rbs/ast/members.rb', line 113 def to_json(*a) { member: :class_variable, name: name, type: type, location: location, comment: comment }.to_json(*a) end |