class Forward
Public Class Methods
new(dir, args)
click to toggle source
# File lib/forward.rb, line 6 def initialize(dir, args) @dir = dir @args = args end
Public Instance Methods
run()
click to toggle source
# File lib/forward.rb, line 11 def run Output.notice("Forwarding 'ops #{@args.join(" ")}' to '#{@dir}/'...") Dir.chdir(@dir) Ops.new(@args).run end