File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## v0.4.0
4+
5+ ### Enhancements
6+
7+ - Implement substitute method on TextRun class. [ #75 ] ( https://github.com/ruby-docx/docx/pull/75 )
8+
9+ ### Improvements
10+
11+ - Updates dependencies. [ #72 ] ( https://github.com/ruby-docx/docx/pull/72 ) , [ #77 ] ( https://github.com/ruby-docx/docx/pull/77 )
12+ - Fix: #paragraphs grabs paragraphs in tables. [ #76 ] ( https://github.com/ruby-docx/docx/pull/76 )
13+ - Updates supported ruby versions. [ #78 ] ( https://github.com/ruby-docx/docx/pull/78 )
Original file line number Diff line number Diff line change @@ -4,11 +4,29 @@ A ruby library/gem for interacting with `.docx` files. currently capabilities in
44
55## Usage
66
7+ ### Prerequisites
8+
9+ - Ruby 2.4 or later
10+
711### Install
812
9- 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:
1020
11- gem 'docx', '~> 0.3.0'
21+ ``` shell
22+ bundle install
23+ ```
24+
25+ Or install it yourself as:
26+
27+ ``` shell
28+ gem install docx
29+ ```
1230
1331### Reading
1432
@@ -61,7 +79,7 @@ doc.tables.each do |table|
6179 puts cell.text
6280 end
6381 end
64-
82+
6583 table.columns.each do |column | # Column-based iteration
6684 column.cells.each do |cell |
6785 puts cell.text
Original file line number Diff line number Diff line change 11module Docx #:nodoc:
2- VERSION = '0.3 .0'
2+ VERSION = '0.4 .0'
33end
You can’t perform that action at this time.
0 commit comments