Sha256: bfa7c3d490f2b33a3b715c378d63cfc41bd3fe87772e8570d4deff4d6858e6f6
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 Bytes
Contents
# vi: ts=2 sts=2 et sw=2 spell spelllang=en require 'common' require 'lims-core/base' require 'lims-core/subclass_tracker' module Lims::Core module Resource extend SubclassTracker # We need to rename the actual self.included method class << self alias_method :tracker_included, :included end def self.included(klass) klass.class_eval do include Base end tracker_included(klass) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lims-core-3.2.3 | lib/lims-core/resource.rb |