lib/prawn/layout.rb in prawn-1.0.0.rc2 vs lib/prawn/layout.rb in prawn-1.0.0
- old
+ new
@@ -1,20 +1,17 @@
-require "prawn/table"
-require 'prawn/layout/grid'
+# This is free software. Please see the LICENSE and COPYING files for details.
+require_relative "table"
+require_relative "grid"
+
module Prawn
-
- module Errors
-
- # This error is raised when table data is malformed
- #
- InvalidTableData = Class.new(StandardError)
+ module Errors
- # This error is raised when an empty or nil table is rendered
- #
- EmptyTable = Class.new(StandardError)
- end
+ # This error is raised when table data is malformed
+ #
+ InvalidTableData = Class.new(StandardError)
- module Layout
-
- end
+ # This error is raised when an empty or nil table is rendered
+ #
+ EmptyTable = Class.new(StandardError)
+ end
end