Sha256: df7a349b2bfaacbeb37450a65f0950ab21d6b2bf39d9acee9ac0cd42b384be34
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
module Nyanko module Config class << self def units_directory_path @units_directory_path ||= "app/units" end def units_directory_path=(path) @units_directory_path = path end def raise_error @raise_error ||= lambda { Rails.env.development? } @raise_error.respond_to?(:call) ? @raise_error.call : @raise_error end def raise_error=(raise_error) @raise_error = raise_error end def backtrace_limit @backtrace_limit ||= 10 end def backtrace_limit=(limit) @backtrace_limit = limit end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.3 | lib/nyanko/config.rb |