Method: RBS::AST::Members::MethodDefinition#to_json
- Defined in:
- lib/rbs/ast/members.rb
#to_json(state = _ = nil) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/rbs/ast/members.rb', line 64 def to_json(state = _ = nil) { member: :method_definition, kind: kind, types: types, annotations: annotations, location: location, comment: comment, overload: overload }.to_json(state) end |