Class: Ssource::Source::Extension
- Defined in:
- lib/ssource/source/extension.rb
Instance Attribute Summary
Attributes inherited from Klass
Attributes inherited from Element
#accessibility, #body_length, #body_offset, #elements, #kind, #length, #name, #name_length, #name_offset, #offset
Instance Method Summary collapse
-
#initialize(json) ⇒ Extension
constructor
A new instance of Extension.
Methods inherited from Klass
#class_methods, #elements_variables, #instance_methods, #methods, #pretty_print, #static_methods, #to_hash, #variables
Methods inherited from Element
#display_name, #pretty_print, #to_hash
Constructor Details
#initialize(json) ⇒ Extension
Returns a new instance of Extension.
6 7 8 9 10 11 12 |
# File 'lib/ssource/source/extension.rb', line 6 def initialize(json) super if superklass @protocols << superklass @superklass = nil end end |