Sha256: c29cf48bc5a93412fcd6cf8b03bb41d7142a8c4227148cc71396eed529d8a4ac
Contents?: true
Size: 335 Bytes
Versions: 9
Compression:
Stored size: 335 Bytes
Contents
require "pluck_map/version" require "pluck_map/model_context" require "pluck_map/presenter" require "pluck_map/null_logger" module PluckMap class << self attr_accessor :logger def [](model) PluckMap::ModelContext.new(model) end end @logger = (Rails.logger if defined?(Rails)) || PluckMap::NullLogger.new end
Version data entries
9 entries across 9 versions & 1 rubygems