Sha256: 361485772752a8db3d3a5ab5222bee2fb2b5ca936b639c1dd54e551aa5c2ddd4
Contents?: true
Size: 140 Bytes
Versions: 6
Compression:
Stored size: 140 Bytes
Contents
module ToProc def self.[] name Module.new do define_method :to_proc do method(name).to_proc end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
to_proc-0.0.8 | lib/to_proc.rb |
to_proc-0.0.7 | lib/to_proc.rb |
to_proc-0.0.6 | lib/to_proc.rb |
to_proc-0.0.5 | lib/to_proc.rb |
to_proc-0.0.4 | lib/to_proc.rb |
to_proc-0.0.3 | lib/to_proc.rb |