class Origami::Destination::GlobalFit
Class representing a Destination
showing a Page
globally.
Public Class Methods
[](page)
click to toggle source
Creates a new global fit Destination
.
- page
-
The destination
Page
.
# File lib/origami/destinations.rb, line 87 def self.[](page) self.new([page, :Fit]) end
new(array)
click to toggle source
Calls superclass method
Origami::Array::new
# File lib/origami/destinations.rb, line 77 def initialize(array) super(array) @page, _ = array end