Sha256: 9339f7d984bda09eb9d02b210eda1a3aacf608e7de3bf2021b56f0837b670263
Contents?: true
Size: 437 Bytes
Versions: 14
Compression:
Stored size: 437 Bytes
Contents
module Spruz module TimeDummy def self.included(modul) modul.module_eval do class << self alias really_new new end extend ClassMethods class << self alias now new end end end module ClassMethods attr_accessor :dummy def new if dummy dummy.dup else really_new end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems