Sha256: 9b8540c25e2b8ecec666b714de398067b62f3495c61be2e62b037d7e77e540f4
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
module Skr::Concerns module ExportedLimitEvaluator def evaluate_export_limit( user, type, name, limit ) if limit.nil? true elsif limit.is_a?(Symbol) self.send( limit, user, type, name ) else limit.call( user, type, name ) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | lib/skr/concerns/exported_limit_evaluator.rb |