w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
stat

stat() Instance Public methods Returns a File::Stat object. See File.stat.

sticky?

sticky?() Instance Public methods See FileTest#sticky?.

sub

sub(*args) Instance Public methods Return a pathname which is substituted by String#sub. path1 = Pathname.new('/usr/bin/perl') path1.sub('perl', 'ruby') #=> #<Pathname:/usr/bin/ruby>

sub_ext

sub_ext(p1) Instance Public methods Return a pathname with repl added as a suffix to the basename. If self has no extension part, repl is appended. Pathname.new('/usr/bin/shutdown').sub_ext('.rb') #=> #<Pathname:/usr/bin/shutdown.rb>

symlink?

symlink?() Instance Public methods See FileTest#symlink?.

sysopen

pathname.sysopen([mode, [perm]]) â fixnum Instance Public methods See IO.sysopen.

taint

pathname.taint â obj Instance Public methods Taints this Pathname. See Object#taint.

to_path

pathname.to_path â string Instance Public methods Return the path as a String. #to_path is implemented so Pathname objects are usable with File.open, etc.

to_s

pathname.to_s â string Instance Public methods Return the path as a String. #to_path is implemented so Pathname objects are usable with File.open, etc.

truncate

truncate(p1) Instance Public methods Truncates the file to length bytes. See File.truncate.

Popular Articles
BusServiceProvider BusServiceProvider class BusServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new servi
Tutorial 2: Introducing INVO In this second tutorial, we’ll explain a more complete application in order to deepen the development with Phalcon. INVO is one of the applications w
asyncio.Queue.task_done() task_done() Indicate that a formerly enqueued task is complete. Used by queue consumers. For each get() used to fetch a task, a subsequent call to
Installation on Mac OS X Mac OS X You install Docker using Docker Toolbox. Docker Toolbox includes the following Docker tools: Docker Machine for running the docker-machine b
sendfile Syntax: sendfile on | off; Default: sendfile off; Context: http, server, location, if in location Enables or disables the use of sendfil


Page 790 of 11844

|< < Prev 787 788 789 790 791 792 793 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions