Skibideebop 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/skibideebop.rb +1 -1
- metadata +2 -2
data/lib/skibideebop.rb
CHANGED
@@ -8,7 +8,7 @@ end
|
|
8
8
|
|
9
9
|
def sing_it_daddyo!( code )
|
10
10
|
binary_to_scat_dictionary = Hash[ "00" => "bodiddly" , "01" => "dat" , "10" => "dwee" , "11" => "zibbidee" ]
|
11
|
-
return "
|
11
|
+
return "require 'skibideebop'\n\n" + code.unpack('B*')[0].gsub(/../).map { |binary| binary_to_scat_dictionary[binary] }.join( ' ' )
|
12
12
|
end
|
13
13
|
|
14
14
|
END {
|