Ruby Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

Ruby
Examples

Quick Start
Unicode
Byte Array
Bz2
Certificates
CSV
Email
Encryption
FTP
HTML-to-XML
HTTP
IMAP
MHT
MIME
POP3
RSA
S/MIME
Signatures
SFTP
SMTP
Socket / SSL
Spider
SSH
SSH Key
SSH Tunnel
Tar
HTTP Upload
XML
XMP
Zip

More Examples...
String
Email Object
DKIM / DomainKey
NTLM
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
DH Key Exchange
DSA
LZW

 

 

 

 

 

 

 

Chilkat Ruby Quick Start Tutorial

Step 1 - Download the Chilkat Ruby Module

DOWNLOAD

Create a new directory anywhere on your hard drive and unzip chilkatRuby.zip into it.

Step 2 - Run an Example Program

Open a DOS prompt and cd to the directory where you unzipped the Chilkat Ruby Module. You will find a ZipExample1.rb sample program. Run the program by typing:

ruby ZipExample1.rb

(You may also run the Ruby program by double-clicking on the ZipExample1.rb from Windows Explorer.) The ZipExample1 program zips a directory tree and creates the file "exampleData.zip".
Thats All!

Note 1 - Loading the Chilkat Module

The Chilkat Ruby module is only available for Microsoft Windows computers. A Ruby program must load it using this code:

require 'chilkat'

Note 2 - 30 Day Trial for Commercial Classes

Chilkat's commercially licensed Ruby objects are fully-functional for a 30-day trial period. The UnlockComponent method should be called once at the beginning of a program. The trial period automatically begins when a non-valid unlock code is used. Licensed customers receive a permanent unlock code that is valid for all future versions of the particular object(s) licensed.

Note: The Chilkat Ruby library contains both freeware and commercially-licensed classes. Freeware classes, such as the ones for XML and digital certificates, do not have an UnlockComponent method and do not need to be unlocked.

zip = Chilkat::CkZip.new()
zip.UnlockComponent("anything for 30-day trial")

Note 3 - Chilkat Licenses Include all Programming Languages

Each license sold by Chilkat is valid for all programming languages. For example, if you purchase a "Chilkat Zip" license, you may use the Chilkat Zip component/library in C++, .NET, VB6, ASP, Perl, Java, Delphi, Python, Ruby, etc.

Note 4 - Upgrades are Free

Your permanent unlock code will work with all future versions of the product. Your 1-year unlimited support may expire, but you don't have to pay for new versions. Support is renewable at reduced pricing.

 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2009 Chilkat Software, Inc. All Rights Reserved.