RubyGems Navigation menu

template_class 1.3.0

In most cases Ruby doesn't need templated classes, nor any other system of generics, because it isn't statically type checked. However, sometimes we need to automatically generate multiple similar classes, either because of poor design or because of external necessities. For example, to define a GraphQL schema with GraphQL Ruby (https://graphql-ruby.org/) we need to define a distinct class for each type. Since GraphQL is statically type checked but doesn't provide generics, if we need a set of similar but distinct types we're left to define them one by one.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.3.1 February 21, 2025 (11.5KB)
  2. 1.3.0 February 17, 2025 (11KB)
  3. 1.2.2 January 29, 2025 (11KB)
  4. 1.2.1 January 20, 2025 (11KB)
  5. 1.2.0 August 19, 2024 (10.5KB)
全てのバージョンを表示(全7件)

所有者:

プッシュ者:

作者:

  • Moku S.r.l., Riccardo Agatea

SHA 256チェックサム:

=

累計ダウンロード数 1,757

このバージョンのみ 113

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.0.0

リンク: