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.override, self.overridable_override, self.untyped].freeze
- OVERRIDABLE_MODES =
[self.override, self.overridable, self.overridable_override, self.untyped, self.abstract].freeze
- OVERRIDE_MODES =
[self.override, self.overridable_override].freeze
- NON_OVERRIDE_MODES =
MODES - OVERRIDE_MODES
Class Method Summary collapse
- .abstract ⇒ Object
- .overridable ⇒ Object
- .overridable_override ⇒ Object
- .override ⇒ Object
- .standard ⇒ Object
- .untyped ⇒ Object
Class Method Details
.abstract ⇒ Object
8 9 10 |
# File 'lib/types/private/methods/modes.rb', line 8 def self.abstract 'abstract' end |
.overridable ⇒ Object
11 12 13 |
# File 'lib/types/private/methods/modes.rb', line 11 def self.overridable 'overridable' end |
.overridable_override ⇒ Object
17 18 19 |
# File 'lib/types/private/methods/modes.rb', line 17 def self.overridable_override 'overridable_override' end |
.override ⇒ Object
14 15 16 |
# File 'lib/types/private/methods/modes.rb', line 14 def self.override 'override' end |
.standard ⇒ Object
5 6 7 |
# File 'lib/types/private/methods/modes.rb', line 5 def self.standard 'standard' end |
.untyped ⇒ Object
20 21 22 |
# File 'lib/types/private/methods/modes.rb', line 20 def self.untyped 'untyped' end |