instance method move_to

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

move_to( port )

No documentation comment.

Parameters

port req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/port.rb, line 106
    def move_to( port )
      begin
        File.link @filename, port.filename
      rescue Errno::EXDEV
        copy_to port
      end
      File.unlink @filename
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/port.rb line 106 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::FilePort

Type at least 2 characters to search.

↑↓ navigate · open · esc close