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
- .abstract ⇒ Object
- .implementation ⇒ Object
- .overridable ⇒ Object
- .overridable_implementation ⇒ Object
- .override ⇒ Object
- .standard ⇒ Object
- .untyped ⇒ Object
Class Method Details
.abstract ⇒ Object
6 |
# File 'lib/types/private/methods/modes.rb', line 6 def self.abstract; 'abstract'; end |
.implementation ⇒ Object
8 |
# File 'lib/types/private/methods/modes.rb', line 8 def self.implementation; 'implementation'; end |
.overridable ⇒ Object
7 |
# File 'lib/types/private/methods/modes.rb', line 7 def self.overridable; 'overridable'; end |
.overridable_implementation ⇒ Object
10 |
# File 'lib/types/private/methods/modes.rb', line 10 def self.overridable_implementation; 'overridable_implementation'; end |
.override ⇒ Object
9 |
# File 'lib/types/private/methods/modes.rb', line 9 def self.override; 'override'; end |
.standard ⇒ Object
5 |
# File 'lib/types/private/methods/modes.rb', line 5 def self.standard; 'standard'; end |
.untyped ⇒ Object
11 |
# File 'lib/types/private/methods/modes.rb', line 11 def self.untyped; 'untyped'; end |