Class: RBS::AST::Members::Private

Inherits:
Base
  • Object
show all
Includes:
LocationOnly
Defined in:
lib/rbs/ast/members.rb

Instance Attribute Summary

Attributes included from LocationOnly

#location

Instance Method Summary collapse

Methods included from LocationOnly

#==, #hash, #initialize

Instance Method Details

#to_json(state = _ = nil) ⇒ Object



392
393
394
# File 'lib/rbs/ast/members.rb', line 392

def to_json(state = _ = nil)
  { member: :private, location: location }.to_json(state)
end