lib/core/extract.rb in radon-0.1.4 vs lib/core/extract.rb in radon-0.1.5

- old
+ new

@@ -17,20 +17,24 @@ def extract_python(target) extract_zip(Radon::Environments.getTargetOf('python'), target) end def extract_ruby(target) - extract_zip(Radon::Environments.getTargetOf('ruby (beta)'), target) + extract_zip(Radon::Environments.getTargetOf('ruby'), target) replace_all_tokens(target) end def extract_c(target) extract_zip(Radon::Environments.getTargetOf('c'), target) end def extract_crystal(target) extract_zip(Radon::Environments.getTargetOf('crystal'), target) replace_all_tokens(target) +end + +def extract_go_s(target) + extract_zip(Radon::Environments.getTargetOf('go_s'), target) end # Extracts some zip data to the passed destination def extract_zip(file, destination) puts "Creating project under #{File.expand_path(destination)}" unless $quiet