Class: Jade::Interop::Lowering::TypeParamError
- Defined in:
- lib/jade/interop/lowering/error.rb
Instance Method Summary collapse
-
#initialize(type_var_name) ⇒ TypeParamError
constructor
A new instance of TypeParamError.
- #message ⇒ Object
Constructor Details
#initialize(type_var_name) ⇒ TypeParamError
Returns a new instance of TypeParamError.
11 12 13 |
# File 'lib/jade/interop/lowering/error.rb', line 11 def initialize(type_var_name) @type_var_name = type_var_name end |
Instance Method Details
#message ⇒ Object
15 16 17 |
# File 'lib/jade/interop/lowering/error.rb', line 15 def "Type param (#{@type_var_name}) cannot be lowered for interop" end |