Sha256: a259d3a281d75ee936830780834366bf48bc904550f61628471f905a6bdc75cf
Contents?: true
Size: 290 Bytes
Versions: 5
Compression:
Stored size: 290 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'string_nibbles' describe StringNibbles do it 'should represent a string as hex nibbles' do s = "string" s.should respond_to(:nibbles) s.nibbles.should == s.unpack('H*').first.scan(/../).flatten.join(' ') end end
Version data entries
5 entries across 5 versions & 1 rubygems