RubyGems Navigation menu

give4each 0.0.2

ああああああ もうブロックを書くのはうんざりだ!!! (1..5).map { |i| i ** 2 } だからこう書けるようにした (1..5).map &:**.with(2) # => [1, 4, 9, 16, 25] ああああああ こういうのももう嫌だ!!! def initialize @stack = [] end def foo *xs xs.each { |x| @stack.push x } end だからこう書けるように(ry xs.each &:push.to(@array) こういうのも(ry f = "hello %s world" %w[ruby python].map { |a| f % a } だからこう(ry %w[ruby python].map &:%.in("hello %s world")

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 February 28, 2012 (6.5 KB)
  2. 0.0.3 February 24, 2012 (5.5 KB)
  3. 0.0.2 February 19, 2012 (6 KB)
  4. 0.0.1 February 18, 2012 (5 KB)

Development Dependencies (2):

hoe ~> 2.13
rdoc ~> 3.10

Owners:

Authors:

  • pasberth

SHA 256 checksum:

=

Total downloads 15,079

For this version 3,494

Version Released:

Licenses:

N/A

Required Ruby Version: None

Links: