Method: RBS::AST::Members::ClassVariable#to_json
- Defined in:
- lib/rbs/ast/members.rb
#to_json(state = _ = nil) ⇒ Object
176 177 178 179 180 181 182 183 184 |
# File 'lib/rbs/ast/members.rb', line 176 def to_json(state = _ = nil) { member: :class_variable, name: name, type: type, location: location, comment: comment }.to_json(state) end |