Class: Jade::Interop::Lowering::FunctionError
- Defined in:
- lib/jade/interop/lowering/error.rb
Instance Method Summary collapse
-
#initialize(function_name) ⇒ FunctionError
constructor
A new instance of FunctionError.
- #message ⇒ Object
Constructor Details
#initialize(function_name) ⇒ FunctionError
Returns a new instance of FunctionError.
21 22 23 |
# File 'lib/jade/interop/lowering/error.rb', line 21 def initialize(function_name) @function_name = function_name end |
Instance Method Details
#message ⇒ Object
25 26 27 |
# File 'lib/jade/interop/lowering/error.rb', line 25 def "Function (#{@function_name}) cannot be lowered for interop" end |