doc_to_dash 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -92,6 +92,10 @@ Tell doc_to_dash to generate a docset:
92
92
 
93
93
  This will create a docset in the docset_output_path then you just need to load the docset into Dash.
94
94
 
95
+ ### Command Line
96
+
97
+ doc_to_dash [docset_name] [input_docs_path] [output_docset]
98
+
95
99
  ## Contributing
96
100
 
97
101
  1. Fork it
@@ -1,3 +1,3 @@
1
1
  module DocToDash
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -4,7 +4,7 @@ module DocToDash
4
4
  @doc_directory = doc_directory
5
5
  end
6
6
 
7
- def parse_methods
7
+ def parse_classes
8
8
  classes_file = File.read(@doc_directory + '/class_list.html')
9
9
  classes_html = Nokogiri::HTML(classes_file)
10
10
  classes = []
@@ -20,7 +20,7 @@ module DocToDash
20
20
  classes
21
21
  end
22
22
 
23
- def parse_classes
23
+ def parse_methods
24
24
  methods_file = File.read(@doc_directory + '/method_list.html')
25
25
  methods_html = Nokogiri::HTML(methods_file)
26
26
  methods = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc_to_dash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: