class Origami::Destination::GlobalBoundingBoxFit

Class representing a Destination fitting the bounding box of a Page.

Public Class Methods

[](page) click to toggle source

Creates a new bounding box fit Destination.

page

The destination Page.

# File lib/origami/destinations.rb, line 183
def self.[](page)
    self.new([page, :FitB])
end
new(array) click to toggle source
Calls superclass method Origami::Array::new
# File lib/origami/destinations.rb, line 173
def initialize(array)
    super(array)

    @page, _, = array
end