09-21-2010
Understood.
I don't program in Ruby, but a lot of people do!
Seem interesting, from a OO scripting perspective.
6 More Discussions You Might Find Interesting
1. 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
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
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
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
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?
Hi All,
Could you please suggest books for learning ruby and python language ?
Thanks,
Pravin (1 Reply)
Discussion started by: pravin27
1 Replies
LEARN ABOUT HPUX
perspective
Perspective(3I) InterViews Reference Manual Perspective(3I)
NAME
Perspective - visible portion of an interactor
SYNOPSIS
#include <InterViews/perspective.h>
DESCRIPTION
A perspective object describes which part of an interactor's total display area is visible in the interactor's canvas. The main use of
perspectives is for scrolling, panning, and zooming interactors. The member variables (x0, y0) define the origin of the interactor's dis-
play area; width and height define the total height of the area. The member variables (curx, cury) define the lower-left corner of the
interactor's canvas relative to the total area; curwidth and curheight define how much of the total area is displayed in the canvas.
The member variables sx, sy, lx, and ly specify small and large increments in each dimension. These increments are used by a scroller to
implement line and page scrolling.
PUBLIC OPERATIONS
Perspective()
Define a new perspective with all member variables initialized to zero.
void Attach(Interactor*)
Add to the list of interactors that are interested in updates to the perspective. These interactors reflect the perspective visual-
ly; examples include scrollers and sliders.
void Detach(Interactor*)
Remove an interactor from the list of those interested in updates. This operation should be called from the interactor's destruc-
tor.
void Init(Coord x0, Coord y0, Coord width, Coord height)
Initialize the perspective display area.
void Update()
Notify all the interactors interested in the perspective that it has changed. The perspective's interactor should call Update after
modifying its perspective.
SEE ALSO
Adjuster(3I), Interactor(3I), Panner(3I), Scroller(3I)
InterViews 15 June 1987 Perspective(3I)