Class: RBS::AST::Members::Prepend
- Inherits:
-
Object
- Object
- RBS::AST::Members::Prepend
- 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
185 186 187 188 189 190 191 192 193 194 |
# File 'lib/rbs/ast/members.rb', line 185 def to_json(*a) { member: :prepend, name: name, args: args, annotations: annotations, location: location, comment: comment }.to_json(*a) end |