RubyGems Navigation menu

immutable_struct 1.2.0

A version of Ruby's Struct class that creates classes whose instances are immutable. It works just as Struct, but there are no setters, and you can't use []=. As a bonus feature the constructor of classes inheriting from ImmutableStruct can take named parameters in the form of a hash.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.2.0 - March 18, 2016 (6KB)
  2. 1.1.1 - May 20, 2013 (5KB)
  3. 1.1.0 - December 20, 2012 (5KB)
  4. 1.0.2 - September 26, 2010 (5KB)
  5. 1.0.0 - July 06, 2010 (6KB)

Development依存関係 (2):

rspec >= 0
yard >= 0

所有者:

作者:

  • Theo Hultberg, Ben Cates

SHA 256チェックサム:

e0a7b10f55c9ee262cd5b516a74d46ed0043faf689f487271f15b934539b48cc

累計ダウンロード数 85,817

このバージョンのみ 44,394

ライセンス:

N/A

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

必要なRubyGemsのバージョン: >= 1.3.6

リンク: