RubyGems Navigation menu

lazy_string 0.0.1

LazyString is 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.

Versions:

  1. 0.0.1 - September 29, 2012 (6 KB)

Authors:

  • Aaron Beckerman

Owners:

23d517bc09a77c341c0a8eedda2822ca

Sha 256 checksum:

57c79b7560ea165c0eff4b4421883e9d526e14f983bb5eff08e908944d295c5f

Total downloads 996

For this version 996

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: