Sha256: d4e1d70d0298cde0926560bd4d04a2eb8886286d5988a0cd936b4aa192643db1
Contents?: true
Size: 824 Bytes
Versions: 2
Compression:
Stored size: 824 Bytes
Contents
module Nyanko module Config class << self attr_accessor( :auto_reload, :backtrace_limit, :cache_units, :compatible_css_class, :enable_logger, :proxy_method_name, :raise_error, :resolver, :units_directory_path ) def reset self.auto_reload = Rails.env.development? || Rails.env.test? self.backtrace_limit = 10 self.cache_units = false self.compatible_css_class = false self.enable_logger = true self.proxy_method_name = :unit self.raise_error = Rails.env.development? self.resolver = ActionView::OptimizedFileSystemResolver self.units_directory_path = "app/units" end end reset end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.9 | lib/nyanko/config.rb |
nyanko-0.0.8 | lib/nyanko/config.rb |