Skip to content

Documentation


Documentation / @blazetrails/activesupport / TempfileBasename

Type Alias: TempfileBasename ​

TempfileBasename = string | [string, string]

Defined in: packages/ruby-compat/dist/tempfile.d.ts:12

The basename argument of Tempfile.new (vendor/ruby/v3.3.11/lib/tempfile.rb:150): a prefix, or a [prefix, suffix] pair destructured by Dir::Tmpname.create (vendor/ruby/v3.3.11/lib/tmpdir.rb:144).

No Rails Equivalent ​

PERMANENT — the argument type of Ruby stdlib Tempfile.new (vendor/ruby/v3.3.11/lib/tempfile.rb:150), which Rails calls without defining.