Class: RBI::RBS::MethodTypeTranslator::Options
- Inherits:
-
Object
- Object
- RBI::RBS::MethodTypeTranslator::Options
- Defined in:
- lib/rbi/rbs/method_type_translator.rb
Class Attribute Summary collapse
-
.default ⇒ Object
readonly
: Options.
Instance Attribute Summary collapse
-
#erase_generic_types ⇒ Object
readonly
: bool.
Instance Method Summary collapse
-
#initialize(erase_generic_types: false) ⇒ Options
constructor
: (?erase_generic_types: bool) -> void.
Constructor Details
#initialize(erase_generic_types: false) ⇒ Options
: (?erase_generic_types: bool) -> void
23 24 25 |
# File 'lib/rbi/rbs/method_type_translator.rb', line 23 def initialize(erase_generic_types: false) @erase_generic_types = erase_generic_types end |
Class Attribute Details
.default ⇒ Object (readonly)
: Options
30 31 32 |
# File 'lib/rbi/rbs/method_type_translator.rb', line 30 def default @default end |
Instance Attribute Details
#erase_generic_types ⇒ Object (readonly)
: bool
20 21 22 |
# File 'lib/rbi/rbs/method_type_translator.rb', line 20 def erase_generic_types @erase_generic_types end |