Sha256: f0a8cde33d4637b9c8ef5147c16bf7e46895eec2684532c71c722a1a88e5d0cb
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
# requirement used by everything require 'facets/string' require 'facets/kernel' require 'facets/hash' require 'facets/array' require 'virtus' require 'aequitas/virtus_integration' class Object def andtap(&block) self && (block ? block.call(self) : self) end def self.parent_scope() @__parent_scope ||= eval self.name.split('::').tap { |_| _.pop }.join('::') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lims-core-3.2.3 | lib/common.rb |