lib/prawn/layout.rb in prawn-0.14.0 vs lib/prawn/layout.rb in prawn-0.15.0
- old
+ new
@@ -1,20 +1,15 @@
require_relative "table"
require_relative "layout/grid"
module Prawn
+ module Errors
- module Errors
+ # This error is raised when table data is malformed
+ #
+ InvalidTableData = Class.new(StandardError)
- # This error is raised when table data is malformed
- #
- InvalidTableData = Class.new(StandardError)
-
- # This error is raised when an empty or nil table is rendered
- #
- EmptyTable = Class.new(StandardError)
- end
-
- module Layout
-
- end
+ # This error is raised when an empty or nil table is rendered
+ #
+ EmptyTable = Class.new(StandardError)
+ end
end