Libraries
»
freighthopper
(0.1.14)
»
Index (F)
»
Fixnum
Class: Fixnum
Inherits:
Object
Object
Fixnum
show all
Defined in:
lib/freighthopper/fixnum.rb
Instance Method Summary
collapse
#
of
(&blk) ⇒ Object
Instance Method Details
#
of
(&blk) ⇒
Object
2 3 4
# File 'lib/freighthopper/fixnum.rb', line 2
def
of
(
&
blk
)
(
0
...
self
)
.
map
&
blk
end