Sha256: 14aa25de240c1b0f1dfc7023d3240186a0043446b3ff2b5e059263002b764ef4

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

#==============================================================================#
# $Id: rand.rb 22 2007-08-15 12:34:58Z yuyakato $
#==============================================================================#

require "kagemusha"

#==============================================================================#

class Kagemusha #:nodoc:
  module Rand
    def self.always(num)
      musha = Kagemusha.new(Kernel)
      musha.def(:rand) { num }

      return musha
    end
  end
end

#==============================================================================#
#==============================================================================#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kagemusha-0.0.1 lib/kagemusha/rand.rb