Module: T::Private::Methods::Modes

Defined in:
lib/types/private/methods/modes.rb

Overview

typed: true

Constant Summary collapse

MODES =
[self.standard, self.abstract, self.overridable, self.implementation, self.override, self.overridable_implementation, self.untyped]
IMPLEMENT_MODES =
[self.implementation, self.overridable_implementation]
OVERRIDABLE_MODES =
[self.override, self.overridable, self.overridable_implementation, self.untyped]
OVERRIDE_MODES =
[self.override]
NON_OVERRIDE_MODES =
MODES - OVERRIDE_MODES - IMPLEMENT_MODES

Class Method Summary collapse

Class Method Details

.abstractObject



6
# File 'lib/types/private/methods/modes.rb', line 6

def self.abstract; 'abstract'; end

.implementationObject



8
# File 'lib/types/private/methods/modes.rb', line 8

def self.implementation; 'implementation'; end

.overridableObject



7
# File 'lib/types/private/methods/modes.rb', line 7

def self.overridable; 'overridable'; end

.overridable_implementationObject



10
# File 'lib/types/private/methods/modes.rb', line 10

def self.overridable_implementation; 'overridable_implementation'; end

.overrideObject



9
# File 'lib/types/private/methods/modes.rb', line 9

def self.override; 'override'; end

.standardObject



5
# File 'lib/types/private/methods/modes.rb', line 5

def self.standard; 'standard'; end

.untypedObject



11
# File 'lib/types/private/methods/modes.rb', line 11

def self.untyped; 'untyped'; end