Module: Compass::Frameworks

Defined in:
lib/compass/frameworks.rb

Defined Under Namespace

Classes: Framework

Constant Summary collapse

ALL =
[]

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object



18
19
20
# File 'lib/compass/frameworks.rb', line 18

def [](name)
  ALL.detect{|f| f.name.to_s == name.to_s}
end

.register(name, *arguments) ⇒ Object



15
16
17
# File 'lib/compass/frameworks.rb', line 15

def register(name, *arguments)
  ALL << Framework.new(name, *arguments)
end