Class: RBS::AST::Members::Include
- Includes:
- Mixin
- Defined in:
- lib/rbs/ast/members.rb
Instance Attribute Summary
Attributes included from Mixin
#annotations, #args, #comment, #location, #name
Instance Method Summary collapse
Methods included from Mixin
#==, #eql?, #hash, #initialize
Instance Method Details
#to_json(*a) ⇒ Object
174 175 176 177 178 179 180 181 182 183 |
# File 'lib/rbs/ast/members.rb', line 174 def to_json(*a) { member: :include, name: name, args: args, annotations: annotations, location: location, comment: comment }.to_json(*a) end |