Skip to content

Commit f179de5

Browse files
committed
Move parser to a new file because of new rules set for naming structure
1 parent b1878f3 commit f179de5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

lib/onigumo/downloader.ex

-14
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,3 @@ defmodule Onigumo.Downloader do
5858
end
5959
end
6060

61-
defmodule Onigumo.Parser do
62-
@moduledoc """
63-
Web scraper
64-
"""
65-
66-
def main(root_path) do
67-
root_path
68-
|> File.ls!()
69-
|> Enum.reject(&File.dir?(&1))
70-
|> Enum.reject(&String.contains?(&1, "."))
71-
|> Enum.join("\n")
72-
|> IO.puts()
73-
end
74-
end

lib/onigumo/parser.ex

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
defmodule Onigumo.Parser do
2+
@moduledoc """
3+
Web scraper
4+
"""
5+
6+
def main(root_path) do
7+
root_path
8+
|> File.ls!()
9+
|> Enum.reject(&File.dir?(&1))
10+
|> Enum.reject(&String.contains?(&1, "."))
11+
|> Enum.join("\n")
12+
|> IO.puts()
13+
end
14+
end

0 commit comments

Comments
 (0)