EnglishFrenchSpanish

OnWorks favicon

rbeautify - Online in the Cloud

Run rbeautify in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rbeautify that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ruby-beautify, rbeautify - CLI binary that will pretty up Ruby code

SYNOPSIS


ruby-beautify [-hVts] [-c <count>] [--overwrite] [<file>...]

rbeautify [-hVts] [-c <count>] [--overwrite] [<file>...]

OPTIONS


-h
Show some help.

-V, --version
Show version.

-t, --tabs
Use tab(s) as indent character.

-s, --spaces
Use space(s) as indent character.

-c <count>, --indent_count <count>
Count of characters to use for indenting.

--overwrite
Overwrites file(s) in place. It won’t overwrite files that fail syntax check.

<file>...
Pretty up provided file(s).

If it is run without specifying a filename, it will read from STDIN.

CONFIGURATION FILE


Options presented above can be set inside a configuration file named .ruby-beautify. It
can be placed anywhere up in the directory tree. Options need to be separated by a new
line and options that use parameter value require "=" to be added between parameter name
and the value.

HISTORY


The original analyzer that ruby-beautify was based on is available at:
http://www.arachnoid.com/ruby/rubyBeautifier.html.

Original work is based on sublime-text2 plugin:
https://github.com/CraigWilliams/BeautifyRuby which was cleaned up and made suitable for
use directly in a shell.

Ruby-beautify was recently re-written to use the stdlib ripper gem to do the lexical
analyzing. Consequently all of the old legacy code was dropped.

Use rbeautify online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad