Reflect

struct Reflect(X)

Overview

NOTE This type might be removed. :nodoc:

Defined in:

reflect.cr

Class Method Summary

  • .first

    For now it's just a way to implement Enumerable#sum in a way that the initial value given to it has the type of the first type in the union, if the type is a union.

  • .new

Class Method Detail

def self.firstSource

For now it's just a way to implement Enumerable#sum in a way that the initial value given to it has the type of the first type in the union, if the type is a union.

def self.newSource

© 2012–2017 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.22.0/Reflect.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部