class Origami::Action::GoToR
Public Class Methods
[](file, dest: Destination::GlobalFit[0], new_window: false)
click to toggle source
Creates a new GoTo
remote Action
.
- file
-
A
FileSpec
describing the file. - dest
-
A
Destination
in the file. - new_window
-
Specifies whether the file has to be opened in a new window.
# File lib/origami/actions.rb, line 183 def self.[](file, dest: Destination::GlobalFit[0], new_window: false) self.new(:F => file, :D => dest, :NewWindow => new_window) end