RubyGems.org

quiescent

0.1.1

This is a very simple mixin to support quiescing constants (which we call "quiescents") in Ruby. You may assign a value to a quiescing constant once during the execution of the program; however, a quiescing constant's value is fixed after the first time it is read. Quiescing constants may have default values (specified either as explicit values or argumentless blocks to compute that value) that take effect if they are not explicitly assigned to before their first use.

installgem install quiescent
Authors

Will Benton

1,038 total downloads 1,038 for this version
Owners

96d289e9a43b048cf0393fc407732cff

Gemfile
gem 'quiescent', '~> 0.1.1'
Versions
  1. 0.1.1 September 2, 2011 (12 KB)