RubyGems.org

laissez

0.0.2

Adds `lazy_accessor`, `lazy_reader`, and `lazy_writer` to the Module class. Behaves just like its `attr_*` counterparts, except if the value is a Proc, the return value of calling the proc is returned instead.

installgem install laissez
Authors

Casey O'Hara

529 total downloads 319 for this version
Owners

305bcd7eb19a602b6d0678a700942096

Licenses

MIT

Gemfile
gem 'laissez', '~> 0.0.2'
Versions
  1. 0.0.2 June 2, 2014 (7 KB)
  2. 0.0.1 June 2, 2014 (7 KB)
Ruby Dependency
  1. >= 0