Ruby Features: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial Annotated
Comments - Anything following an unquoted #, to the end of the line on which it appears, is ignored by the interpreter. Also, to facilitate large comment blocks, the ruby interpreter also ignores anything between a line starting with =begin and another line starting with =end
But in Ruby, all of these are true; in fact, everything is true except the reserved words false and nil.
First Ruby Program: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial Annotated
Press the F8 key to open an output window
Ctrl+Shift+I - this opens the Indentation Settings window
All Ruby source files have the .rb file extension
Foo class has name foo.rb
puts (s in puts stands for string; puts really means put string)
simply writes onto the screen whatever comes after it
g)
> simply writes onto the screen whatever comes after it,
a. Parentheses are usually optional with a method call. These calls are all valid:
foobar
foobar()
foobar(a, b, c)
foobar a, b, c
everything from an integer to a string is considered to be an object
To use a method, you need to put a dot after the object, and then append the method name.
Some methods such as puts and gets are available everywhere and don’t need to be associated with a specific object.
provided by Ruby’s Kernel module
When you run a Ruby application, an object called main of class Object is automatically created. This object provides access to the Kernel methods.
I am using single quotes around Hello. ‘ is more efficient than “
String literals are sequences of characters between single or double quotation marks
Ruby is an interpreted language
LinuxDevCenter.com — An Interview with the Creator of Ruby Annotated
Ruby has been described as an absolutely pure object-oriented scripting language and a genuine attempt to combine the best of everything in the scripting world.
Yukihiro Matsumoto (or “Matz” as he’s known online) is the creator of Ruby
Ruby Installation: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial Annotated
Yukihiro Matsumoto, commonly known as ‘Matz’ created the Ruby language in 1993
Ruby Introduction: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial
rubylearning.com :: View topic - Lesson 1
rubylearning.com :: View topic - Important: Read This First Annotated
Objective:
To get you up-to-speed in Core Ruby programming. Learning and asking questions as a group ‘jump-starts’ the Ruby learning process.
RubyLearning Chatroom (at Lingr) > Archives > Recent messages
Ruby Mentor, Guide: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial Annotated
It is my observation that if one learns a programming language along with a group and with set targets every day; one learns faster.
Ruby Study Notes - Best Ruby Tutorial for Learning Ruby Annotated
RubyLearning.com is a thorough collection of Ruby Study Notes for those who are new to the Ruby programming language and in search of a solid introduction to Ruby’s concepts and constructs - ruby-lang.org.
Ruby From Other Languages Annotated
an identifier starts with a capital letter,
it is a constant
starts with @@,
it is a class variable.
starts with @, it is an instance variable
starts with a dollar sign ($), it is a global variable
start with capital letters
Ruby doesn’t have keyword parameters,
In Ruby, everything except nil and false is considered true.
Singleton methods are per-object methods. They are only available on the
Object you defined it on.
Ruby in Twenty Minutes Annotated
In Ruby, anything on a line after a hash mark is a
comment and is ignored by the interpreter
__FILE__ is the magic variable that contains the name of the current
file.
$0 is the name of the file used to start the program.
Ruby in Twenty Minutes Annotated
Ruby uses the good object-oriented approach of keeping data sort-of
hidden away.
Ruby in Twenty Minutes Annotated
Ruby’s response => nil tells
us that it knows we’re done defining the method
h to take a name as a parameter.
saying is “If the name isn’t
supplied, use the default name of "World"”.
@name.
This is an instance variable, and is available to all the methods of
the class
Ruby in Twenty Minutes Annotated
puts is the basic command to print something out in Ruby.
puts always
returns nil, which is Ruby’s absolutely-positively-nothing value.
In Ruby ** is the way you say “to the power of”
Testing Web Applications with Selenium Annotated
If you want to run a test outside of the Selenium IDE, then you need to install Selenium Core.
After downloading Selenium Core and extracting the files, copy the Core subfolder into your Inetpub\wwwroot folder. The Core folder includes the TestRunner.html page. Rename the Core folder to Selenium.
http://localhost/Selenium/TestRunner.html
A test suite is simply a list of Selenium tests. You create a test suite by creating an HTML page with a list of links to individual tests.
The Selenium Core download includes a Tests folder. You can copy this folder into your Inetpub\wwwroot folder. When you open TestRunner.html, select either TestSuite.html or ShortTestSuite.html as the Test Suite.
If you need to execute tests against a remote website, then you have three options. First, you can run the test within Selenium IDE.
Second, you can run the test against a remote website by using the HTML Application (HTA) version of TestRunner.
The TestRunner.hta page is located in the same folder as the TestRunner.html page.
The final, and best, option for executing tests against a remote website is to use Selenium RC. Selenium RC can be used to control any modern browser. It also works fine with remote domains. Selenium RC is a separate download from the Selenium website.
Diigo’’s Online Research Tools Enable Writable Web; New Knowledge Sharing Network Adds Social Layers to Individual Web Pages-资讯中心-金融界
Diigo to Launch Social Annotation Tool
Diigo @ DEMOfall 07 - A True 3D Information App?
VentureBeat » Diigo, highlighting the best parts of the internet
DEMOfall 2007 Preview - Companies to Watch
Demo Till You Drop
Special preview: DEMOfall ‘07 highlights | InfoWorld | News | 2007-09-24 | By Ephraim Schwartz
DEMO: Diigo Launches Web Slideshows and a Social Layer | CenterNetworks - News, Reviews, Insights and Interviews
Diigo adds social network features | Webware : Cool Web apps for everyone