From f903da34349164753c331295a6e24c81c158a2fa Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 18 Jan 2009 12:25:16 -0800 Subject: [PATCH] Indifferent access (symbol, string) for Compass::Frameworks[] --- lib/compass/frameworks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/frameworks.rb b/lib/compass/frameworks.rb index 3b47a675..38d1df1b 100644 --- a/lib/compass/frameworks.rb +++ b/lib/compass/frameworks.rb @@ -16,7 +16,7 @@ module Compass ALL << Framework.new(name, *arguments) end def [](name) - ALL.detect{|f| f.name == name} + ALL.detect{|f| f.name.to_s == name.to_s} end module_function :register, :[] end