·P-41 The UNIX operating system in the clinical trials environment

1990; Elsevier BV; Volume: 11; Issue: 4 Linguagem: Inglês

10.1016/0197-2456(90)90140-w

ISSN

1879-050X

Autores

Elizabeth Yetisir, Harvey Nelson, Robin S. Roberts,

Tópico(s)

Scientific Computing and Data Management

Resumo

Ruby is an object-oriented scripting language with syntax that is similar to Python's. It is flexible enough to allow artistic interpretation when formatting code and it allows the creation of functional and attractive code. Ruby has the ability to string objects together, creating complex one-liners. Ruby also has an easy-to-use thread application program interface (API) that allows creating threaded applications that will run on any platform that can run Ruby. This is helpful for creating different types of servers, including Web servers, which can be leveraged during man-in-the-middle attacks, and even basic protocol servers such as Trivial File Transfer Protocol (TFTP) servers or FTP servers. Ruby has two ways to execute scripts: an interactive shell known as irb, and the Ruby interpreter itself, usually called ruby. One popular feature of Ruby is the ability to use methods sequentially. Everything is a class in Ruby so one can treat a method as the class it returns. Arrays in Ruby are indexed lists of values or objects starting with an index of 0. Arrays, like all Ruby objects, are classes with their own methods. Many of these methods will be reminiscent of the Python List object. These include methods for push and pop for adding and removing values from the array, as well as an append operator,

Referência(s)
Altmetric
PlumX