Sha256: cc3ab510ec159dea63ac82d7b489c5df957f6fbcb620ecfd2f3903e2ae43684b
Contents?: true
Size: 428 Bytes
Versions: 10
Compression:
Stored size: 428 Bytes
Contents
module Alula class Theme def self.register(path) @@themepaths ||= [] @@themepaths << path end def self.find_theme(themename) themepath = nil @@themepaths ||= [] @@themepaths.each do |path| if File.directory?(File.join(path, themename)) themepath = path end end themepath end def self.paths @@themepaths end end end
Version data entries
10 entries across 10 versions & 1 rubygems