module Themeable
Constants
- VERSION
Public Instance Methods
add_theme(theme_class)
click to toggle source
# File lib/themeable.rb, line 11 def add_theme(theme_class) @@theme_set << theme_class end
theme(theme_name)
click to toggle source
# File lib/themeable.rb, line 19 def theme(theme_name) themes.find{|t| t.theme_name == theme_name.to_sym } || raise("Theme #{theme_name} not found") end
themes()
click to toggle source
# File lib/themeable.rb, line 15 def themes @@theme_set end