Method: RBS::AST::Members::Include#to_json

Defined in:
lib/rbs/ast/members.rb

#to_json(state = _ = nil) ⇒ Object



180
181
182
183
184
185
186
187
188
189
# File 'lib/rbs/ast/members.rb', line 180

def to_json(state = _ = nil)
  {
    member: :include,
    name: name,
    args: args,
    annotations: annotations,
    location: location,
    comment: comment
  }.to_json(state)
end