Class: Rbs2ts::Converter::Types::ConverterBase
- Inherits:
-
Object
- Object
- Rbs2ts::Converter::Types::ConverterBase
- Defined in:
- lib/rbs2ts/converter/types.rb
Direct Known Subclasses
Array, BasesAny, BasesBool, BasesNil, BasesVoid, Bool, ClassInstance, Fallback, Integer, Intersection, Literal, Optional, Record, String, Tuple, Union
Instance Method Summary collapse
-
#initialize(type) ⇒ ConverterBase
constructor
A new instance of ConverterBase.
- #to_ts ⇒ Object
Constructor Details
#initialize(type) ⇒ ConverterBase
Returns a new instance of ConverterBase.
5 6 7 |
# File 'lib/rbs2ts/converter/types.rb', line 5 def initialize(type) @type = type end |
Instance Method Details
#to_ts ⇒ Object
9 10 11 |
# File 'lib/rbs2ts/converter/types.rb', line 9 def to_ts raise 'not implemented' end |