RubyGems Navigation menu

lazy_string 0.3.0

This library provides LazyString, a class for computing strings only when necessary -- that is, when #to_str or #to_s is called. This is useful when computing the string is expensive but the string is unlikely to be used: an error message passed as a method argument, for example.

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

インストール:
=

バージョン履歴:

  1. 0.7.0 - March 12, 2024 (6KB)
  2. 0.4.0 - November 13, 2022 (6.5KB)
  3. 0.3.0 - May 28, 2018 (6.5KB)
全てのバージョンを表示(全8件)

所有者:

作者:

  • Aaron Beckerman

SHA 256チェックサム:

4637583f0497ae9775157e973f4db79be3991480b6542f97f6c9f26670f7111d

累計ダウンロード数 6,102

このバージョンのみ 1,920

ライセンス:

MIT

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

リンク: