Sha256: bf3f9e9a09c8c616497d315e8de3f91e042daf2a353ca2978820139aaf9c1cfd
Contents?: true
Size: 411 Bytes
Versions: 53
Compression:
Stored size: 411 Bytes
Contents
module WoopleTheme class Configuration attr_accessor :profile_helper, :menu_helper, :layout_javascript def profile_helper @profile_helper || :profile_helper end def menu_helper @menu_helper || :menu_helper end end class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) end end
Version data entries
53 entries across 53 versions & 1 rubygems