Module: SoberSwag::Type::Named

Included in:
InputObject
Defined in:
lib/sober_swag/type/named.rb

Overview

Mixin module used to identify types that should be considered standalone, named types from SoberSwag's perspective.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(mod) ⇒ Object

When included, extends ClassMethods



44
45
46
# File 'lib/sober_swag/type/named.rb', line 44

def self.included(mod)
  mod.extend(ClassMethods)
end