Sha256: 3b43d57217111d520b42575635adcdfe61131b39fddc9e0106ebefda1c4820b3

Contents?: true

Size: 181 Bytes

Versions: 1

Compression:

Stored size: 181 Bytes

Contents

require_relative '../procstar'

module Procstar
  module ClassNew
    def to_proc
      lambda{ |*args| self.new(*args) }
    end
  end
end

Class.send :include, Procstar::ClassNew

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
procstar-1.0.0 lib/procstar/class_new.rb