Module: RadiantTools
- Defined in:
- lib/radiant_tools.rb,
lib/radiant_tools/config.rb,
lib/radiant_tools/version.rb
Defined Under Namespace
Modules: AdminLocale, AssetHelpersTags, Config, EnforceAdmin, I18nTags, RedisRadiantStore, ReverseBreadcrumbsTags, TagAttributes, Visibility
Constant Summary collapse
- VERSION =
File.read File.join(File.("..", __FILE__), "..", "..", "VERSION")
Class Method Summary collapse
Class Method Details
.init(modules) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/radiant_tools.rb', line 4 def self.init modules init_modules case modules when String load_modules(modules.split(/\s+/)) when Array load_modules(modules) when :all all_modules else raise "Cannot process '#{modules.inspect}' (#{modules.class}) as list of modules to init." end end |