Class: R2OAS::Plugin::V3::Transform

Inherits:
Base show all
Extended by:
Visitable
Defined in:
lib/r2-oas/plugin/transform/v3/transform.rb

Constant Summary

Constants included from Visitable

Visitable::SCHEMA_OBJECTS

Class Method Summary collapse

Methods included from Hookable

#execute_hook, #has_hook?, #hook_klass, #hook_klass=, #hooks, #hooks_map, #off, #on

Methods inherited from Base

execute_setup, execute_teardown, setup, teardown

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from R2OAS::Base

Class Method Details

.inherited(base) ⇒ Object



12
13
14
15
16
# File 'lib/r2-oas/plugin/transform/v3/transform.rb', line 12

def self.inherited(base)
  super
  self.hook_klass = ::R2OAS::Hooks::Hook.register(:plugin, base)
  base.type = :transform
end