12 Feb '12, 6pm

Struct - More Examples #ruby

A Struct is a convenient way to bundle a number of attributes together, using accessor methods, without having to write an explicit class. The Struct class is a generator of specific classes, each one of which is defined to hold a set of variables and their accessors. In these examples, we’ll call the generated class “CustomerClass,” and we’ll show an example instance of that class as “CustomerInst .” In the descriptions that follow, the parameter symbol refers to a symbol, which is either a quoted string or a Symbol (such as :name).

Full article: http://apidock.com/ruby/Struct#1239-More-Examples


Ruby GSSAPI v1.1.0

rubyflow.com 10 Feb '12, 3pm

Posted by zenchild on February 10, 2012 — 0 comments I just pushed out version 1.1.0 of the Ruby GSSAPI library. Changes i...

send_file (ActionController::Streaming) - APIdock:

apidock.com 19 Feb '12, 5am

Also be aware that the document may be cached by proxies and browsers. The Pragma and Cache-Control headers declare how th...