Sponsored Content
Full Discussion: What is Ruby?
Top Forums Shell Programming and Scripting What is Ruby? Post 302455310 by Neo on Tuesday 21st of September 2010 08:48:21 AM
Old 09-21-2010
No, I actually meant "declarative" .... See this reference:
Quote:
In computer science, declarative programming is a programming paradigm that expresses the logic of a computation without describing its control flow. Many languages applying this style attempt to minimize or eliminate side effects by describing what the program should accomplish, rather than describing how to go about accomplishing it. This is in contrast with imperative programming, which requires an explicitly provided algorithm.

Declarative programming often considers programs as theories of a formal logic, and computations as deductions in that logic space. Declarative programming has become of particular interest recently, as it may greatly simplify writing parallel programs.

Common declarative languages include those of regular expressions, logic programming, and functional programming.


---------- Post updated at 12:48 ---------- Previous update was at 12:45 ----------

Follow-up:

I see now that Ruby is not classified as a "declarative programming language", List of programming languages by category.
 

6 More Discussions You Might Find Interesting

1. SuSE

how to ri-rdoc for Ruby on suse

Hello guys, This is suse SLES 9.2. I want to get ri working for all users on this system. I used gem rdoc --all --ri to generate documentation and it went on doing it successfully. Then I tried ri Array It shows following message : Nothing known about Array Therefore I ran... (0 Replies)
Discussion started by: upengan78
0 Replies

2. Shell Programming and Scripting

Parsing the Ruby File

Hai any one pls guide me... We can extract the line number of the sub routine/function/method in a Ruby file using the ctags command. But I want to know the line number in which the sub routine is ending. Example: Say the function get_days_in_hash starts in the line number 20. It... (2 Replies)
Discussion started by: thillai_selvan
2 Replies

3. Programming

Ubuntu ruby on rails

Hi, I am a php developer and I decided to learn ruby on rails. I have a few question. I have an ubuntu virtual machine with lamp. It mean that it has alrweady php and when I access the ip of the machine from my browser it does load the index.php. if I install ruby on rails will theere... (0 Replies)
Discussion started by: programAngel
0 Replies

4. UNIX for Advanced & Expert Users

Need help installing Puppet and Ruby..

Hi, I am working on RHEL 5.6 server, this is in private DMZ. No access to internet. I have downloaded the files I need to install the Puppet & Ruby. My goal is to install Puppet. I have downloaded.... mcollective-2.2.3-1.el5.noarch- SERVER.rpm ... (2 Replies)
Discussion started by: samnyc
2 Replies

5. Shell Programming and Scripting

Printf with backreference in ruby

Hello everybody, May you help with this, I don't know what is wrong. I want trying to print the first 4 characters as decimal and remove the "k's" from the next 7 characters. I'm trying with gsub and backrefence as shown below trying to remove the "k's" and then trying to assign to "x" the... (0 Replies)
Discussion started by: Ophiuchus
0 Replies

6. What is on Your Mind?

Ruby language

Hi All, Could you please suggest books for learning ruby and python language ? Thanks, Pravin (1 Reply)
Discussion started by: pravin27
1 Replies
DH-MAKE-RUBY(1) 														   DH-MAKE-RUBY(1)

NAME
dh-make-ruby - build Debian source package from Ruby library USAGE
dh-make-ruby [OPTIONS] TARBALL|DIRECTORY DESCRIPTION
dh-make-ruby will create a basic Debian source package from a tarball named TARBALL generated with gem2tgz, or from a DIRECTORY containing Ruby code and metadata in a .gemspec file. OPTIONS
-p PACKAGE, --package PACKAGE Uses PACKAGE as package name. By default, new packages will be named as ruby-$gem, where $gem is the upstream name. If the package is mainly used as a library, then it should use the default. On the other hand, if the packages is mainly used as an application, then you should drop the ruby- prefix by using this option an explicit package u. --ruby-versions VERSIONS Ruby versions to build the package for. This is used to generate the X-Ruby-Versions: field in the source package, that can later be used to tune this value. By default, gem2deb generates a package that works on all known Ruby versions, but it might be necessary to only build the package for Ruby 1.8, for example (using --ruby-versions "ruby1.8"). -h, --help Displays the help -v, --version Displays version information and exits. SEE ALSO
gem2deb(1), dh_ruby(1) COPYRIGHT AND AUTHORS
Copyright (c) 2011, Lucas Nussbaum <lucas@debian.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 2012-03-06 DH-MAKE-RUBY(1)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy