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:
=

instalar:
=

Versões:

  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

Donos:

Autores:

  • pasberth

SHA 256 checksum:

=

Total de downloads 15.074

Desta versão 3.493

Versão lançada:

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: