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