module ThemesOnRails
Constants
- VERSION
Public Class Methods
all()
click to toggle source
# File lib/themes_on_rails.rb, line 9 def self.all Dir.glob("app/themes/*").select { |fn| !fn.start_with?('.') && File.directory?(fn) }.map { |fn| fn.split('/').last } end