manual/basic_concepts/basic_concepts.rb in prawn-2.2.2 vs manual/basic_concepts/basic_concepts.rb in prawn-2.3.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # Examples for Prawn basic concepts. # require_relative '../example_helper' @@ -13,19 +15,19 @@ p.example 'adding_pages' p.example 'measurement' p.example 'view', eval_source: false, full_source: true p.intro do - prose <<-END + prose <<-TEXT This chapter covers the minimum amount of functionality you'll need to start using Prawn. If you are new to Prawn this is the first chapter to read. Once you are comfortable with the concepts shown here you might want to check the Basics section of the Graphics, Bounding Box and Text sections. The examples show: - END + TEXT list( 'How to create new pdf documents in every possible way', 'Where the origin for the document coordinates is. What are Bounding '\ 'Boxes and how they interact with the origin',