RubyGems Navigation menu

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.

Gemfile
          gem 'quiescent', '~> 0.1.1'
  
  
  
  
  
  
  

install
          gem install quiescent
  
  
  
  
  
  
  

Authors:

  • Will Benton

Owners:

Total downloads 1,084

For this version 1,084

Required Ruby Version: None

Links:

Versions:

  1. 0.1.1 - September 2, 2011 (12 KB)