In Files

  • rbs-1.0.4/lib/rbs/ast/members.rb

Class/Module Index [+]

Quicksearch

RBS::AST::Members::AttrAccessor

Public Instance Methods

to_json(*a) click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 270
def to_json(*a)
  {
    member: :attr_accessor,
    name: name,
    type: type,
    ivar_name: ivar_name,
    kind: kind,
    annotations: annotations,
    location: location,
    comment: comment
  }.to_json(*a)
end