We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a835f commit 01e5cfdCopy full SHA for 01e5cfd
1 file changed
README.md
@@ -4,11 +4,29 @@ A ruby library/gem for interacting with `.docx` files. currently capabilities in
4
5
## Usage
6
7
+### Prerequisites
8
+
9
+- Ruby 2.4 or later
10
11
### Install
12
-Requires ruby (tested with 2.1.1)
13
+Add the following line to your application's Gemfile:
14
15
+```ruby
16
+gem 'docx'
17
+```
18
19
+And then execute:
20
- gem 'docx', '~> 0.3.0'
21
+```shell
22
+bundle install
23
24
25
+Or install it yourself as:
26
27
28
+gem install docx
29
30
31
### Reading
32
@@ -61,7 +79,7 @@ doc.tables.each do |table|
61
79
puts cell.text
62
80
end
63
81
64
-
82
65
83
table.columns.each do |column| # Column-based iteration
66
84
column.cells.each do |cell|
67
85
0 commit comments