Sha256: 7da12690b465ef5dabbf05463fdc18e5f1c5f482faf3ca2eb2f2de735b3a44cd
Contents?: true
Size: 270 Bytes
Versions: 40
Compression:
Stored size: 270 Bytes
Contents
module ActiveAdmin module ViewHelpers module ScopeNameHelper def scope_name(scope) case scope.name when Proc then self.instance_exec(&scope.name).to_s else scope.name.to_s end end end end end
Version data entries
40 entries across 40 versions & 5 rubygems