Class: RBS::AST::Members::Public
- Includes:
- LocationOnly, _ToJson
- Defined in:
- lib/rbs/ast/members.rb,
sig/members.rbs
Instance Attribute Summary
Attributes included from LocationOnly
Instance Method Summary collapse
Methods included from LocationOnly
Methods included from _HashEqual
Instance Method Details
#to_json(state = nil) ⇒ Object
386 387 388 |
# File 'lib/rbs/ast/members.rb', line 386 def to_json(state = nil) { member: :public, location: location }.to_json(state) end |