Top

Creating a Function

Please Register to submit score.
Average Score  7.7
Scores Submitted  3
Date Added  Aug 18, 2005
Last Updated  Sep 19, 2005
Tags  def  function  puts 

Introduction

This is a very simple Ruby snippet that creates an unnecessary function.

Grab the Code

Comments

  (4)  RSS
Hawkee
Comments: 403
 
Ruby / Rails Snippet:  Creating a Function
Posted on Aug 18, 2005 3:37 am
This is just to give you an idea of what Ruby looks like.
F*U*R*B*Y*
Comments: 414
 
Ruby / Rails Snippet:  Creating a Function
Posted on Aug 18, 2005 5:03 am
can you actually explain what Ruby is please
Hawkee
Comments: 403
 
Ruby / Rails Snippet:  Creating a Function
Posted on Aug 18, 2005 5:46 am
Click the Ruby Scripting tab at the top of the site and check the links under Ruby Links. Be sure to download Ruby on Rails and check the 15 minute demo video. It let's you build websites quickly.
log2
Comments: 52
 
Ruby / Rails Snippet:  Creating a Function
Posted on Aug 19, 2005 7:33 pm
It's pretty good, basic though, and I personally don't really use to many functions in Ruby, I know they help and most of the time are needed, but I seem to find ways around using two maybe even three per script

Please Register or Login to start posting comments.
Bottom