Module: Cfh

Defined in:
lib/cfh.rb,
lib/cfh/hasher.rb,
lib/cfh/person.rb

Overview

Cfh

Defined Under Namespace

Classes: Hasher, Person

Class Method Summary collapse

Class Method Details

.slicer(value) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/cfh.rb', line 8

def self.slicer(value)
  array = []
  16.times do |i|
    array << value.slice(4*i..4*i+3)    
  end
  return array
end