class Kaze::Return

Overview

An exception raised by a return statement. Note that this is not an actual error, but rather a hacky way to allow getting out of a function scope.

Defined in:

return.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : VG) #

[View source]

Instance Method Detail

def value : Bool | Float64 | Kaze::Callable | Kaze::Instance | String | Nil #

The return value.


[View source]
def value=(value : Bool | Float64 | Kaze::Callable | Kaze::Instance | String | Nil) #

The return value.


[View source]