Sha256: d90348131ccc2ef230275c7ef518cf527e6f62bd381f9dab61a9c16b748bc05b
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
module Tori class Config attr_accessor :backend def initialize @backend = nil @filename_callback = nil end def filename_callback(&block) if block_given? warn "DEPRECATED: `#{__method__}' is deprecated method." warn "Please use `tori` method block style in model like `tori :name, { |model| model.id }`." @filename_callback = block else @filename_callback end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tori-0.7.0 | lib/tori/config.rb |