class Hash
Public Instance Methods
take(count, from = 0)
click to toggle source
# File lib/forkforge/internal/monkeypatches.rb, line 25 def take count, from = 0 Hash[self.to_a[from..from+count]] end
# File lib/forkforge/internal/monkeypatches.rb, line 25 def take count, from = 0 Hash[self.to_a[from..from+count]] end