Sha256: 15008786433861181eae37bb4888900d59b81e94e247b65510eb84429548bdce
Contents?: true
Size: 289 Bytes
Versions: 3
Compression:
Stored size: 289 Bytes
Contents
module InterfaceLift class ThemeManager def available_themes Dir.foreach("#{File.expand_path(File.join(File.dirname(__FILE__), '..'))}/lib/templates") do |t| puts t unless t == "shared" || t == ".." || t == "." || t == ".DS_Store" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
interfacelift-0.1.0 | lib/theme_manager.rb |
interfacelift-0.0.1 | lib/theme_manager.rb |
interfacelift-0.0.0 | lib/theme_manager.rb |