aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 18e395a..782e6d9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,7 +10,7 @@ end
file 'lib/linguist/samples.yml' => Dir['samples/**/*'] do |f|
require 'linguist/samples'
- yaml = Linguist::Samples.serialize_to_yaml(Linguist::Samples.data)
+ yaml = YAML.dump(Linguist::Samples.data)
File.open(f.name, 'w') { |io| io.write yaml }
end