tasks/docs.rake in yousty-activeadmin-1.0.4.pre vs tasks/docs.rake in yousty-activeadmin-1.0.5.pre
- old
+ new
@@ -8,10 +8,10 @@
-->
EOD
def filename_from_module(mod)
- mod.name.to_s.underscore.gsub('_', '-')
+ mod.name.to_s.underscore.tr('_', '-')
end
def write_docstrings_to(path, mods)
mods.each do |mod|
File.open("#{path}/#{filename_from_module(mod)}.md", 'w+') do |f|