Sha256: e97352eb3fb1cbebb0a2a47a6a28d402b5b2360489b269d2433def77d15fbaab
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
# typed: strict # frozen_string_literal: true module Muina # Include this module to make `.allocate` and `.new` private module PrivateCreation def self.included(klass) klass.private_class_method :allocate klass.private_class_method :new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
muina-0.2.8 | lib/muina/private_creation.rb |
muina-0.2.7 | lib/muina/private_creation.rb |