diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2015-05-22 13:21:02 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2015-05-22 13:21:02 -0600 |
| commit | d27e70de908a6d333aaf707da6755680cc33a0ee (patch) | |
| tree | 0a6d30ee5bac29d2cd238a4a0eae9852e95ac16f | |
| parent | 31b62fbcbeb5122b8d830d3fd49509eb32717821 (diff) | |
add title accessor as alias to main on Document::Title
| -rw-r--r-- | lib/asciidoctor/document.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asciidoctor/document.rb b/lib/asciidoctor/document.rb index 5011fb39..edf85437 100644 --- a/lib/asciidoctor/document.rb +++ b/lib/asciidoctor/document.rb @@ -38,6 +38,7 @@ class Document < AbstractBlock # Public Parsed and stores a partitioned title (i.e., title & subtitle). class Title attr_reader :main + alias :title :main attr_reader :subtitle attr_reader :combined |
