Module: Rack::Less::Options

Included in:
Base, Request, Response
Defined in:
lib/rack/less/options.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

RACK_ENV_NS =

Note: the following code is heavily influenced by:

> github.com/rtomayko/rack-cache/blob/master/lib/rack/cache/options.rb

> thanks to rtomayko, I thought his approach was really smart.

"rack-less"

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



105
106
107
108
# File 'lib/rack/less/options.rb', line 105

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end