Method: RBS::Types::ClassSingleton#to_json

Defined in:
lib/rbs/types.rb

#to_json(state = _ = nil) ⇒ Object



222
223
224
# File 'lib/rbs/types.rb', line 222

def to_json(state = _ = nil)
  { class: :class_singleton, name: name, location: location }.to_json(state)
end