The Ruby Way Solutions and Techniques in Ruby Programming Second Edition Desconocido - The complete ebook version is now available for download
The Ruby Way Solutions and Techniques in Ruby Programming Second Edition Desconocido - The complete ebook version is now available for download
com
https://ebookname.com/product/the-ruby-way-solutions-and-
techniques-in-ruby-programming-second-edition-desconocido/
OR CLICK HERE
DOWLOAD EBOOK
https://ebookname.com/product/programming-ruby-second-edition-
dave-thomas/
https://ebookname.com/product/ruby-for-rails-ruby-techniques-for-
rails-developers-david-black/
https://ebookname.com/product/metaprogramming-ruby-program-like-
the-ruby-pros-1st-edition-paolo-perrotta/
https://ebookname.com/product/advances-in-filament-yarn-spinning-
of-textiles-and-polymers-1st-edition-d-zhang-eds/
AC DC First Edition Phil Sutcliffe
https://ebookname.com/product/ac-dc-first-edition-phil-sutcliffe/
https://ebookname.com/product/new-sensors-and-processing-
chain-1st-edition-nourdin-yaakoubi/
https://ebookname.com/product/human-resources-administration-for-
educational-leaders-1st-edition-m-scott-norton/
https://ebookname.com/product/plautus-menaechmi-bloomsbury-
ancient-comedy-companions-1st-edition-v-sophie-klein/
https://ebookname.com/product/resonant-mems-principles-modeling-
implementation-and-applications-1st-edition-oliver-brand/
The Second Plane September 11 Terror and Boredom 1st
Edition Martin Amis
https://ebookname.com/product/the-second-plane-
september-11-terror-and-boredom-1st-edition-martin-amis/
1
Ruby is an agile object-oriented language, borrowing some of the best features from LISP, Smalltalk, Perl,
CLU, and other languages. Its popularity has grown tremendously in the five years since the first edition of
this book.
The Ruby Way takes a "how-to" approach to Ruby programming with the bulk of the material consisting of
more than 400 examples arranged by topic. Each example answers the question "How do I do this in Ruby?"
Working along with the author, you are presented with the task description and a discussion of the technical
constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author
provides detailed commentary and explanations to aid your understanding.
Coverage includes
• Operations on hashes, arrays, and other data structures such as stacks, trees, and graphs
• Working with image files, PDFs, YAML, XML, RSS, and Atom
1
2
• Web development tools including Rails, Nitro, Wee, IOWA, and more
The source code for the book can be downloaded from www.rubyhacker.com
Hal Fulton has worked for over 15 years with variousforms of Unix, including AIX, Solaris, and Linux. He
was first exposed to Ruby in 1999, and in 2001 he began work on the first edition of this bookthe second
Ruby book published in the English language. He has attendednumerous Ruby conferences and has given
presentations at several of those, including the first European Ruby Conference.
He has two degrees in computer science from the University of Mississippi and taught computer science for
four years before moving to Austin, Texas to work as a contractor for variouscompanies, including IBM
Austin. Hal currently works at Broadwing Communications in Austin, Texas, maintaining a large data
warehouse and related telecom applications, working daily with C++, Oracle, and, of course, Ruby.
Copyright
Foreword
Acknowledgments
About
the
Author
Introduction
Chapter
1.
Ruby
in
Review
Section
1.1.
An
Introduction
to
Object
Orientation
2
3
Section
1.2.
Basic
Ruby
Syntax
and
Semantics
Section
1.3.
OOP
in
Ruby
Section
1.4.
Dynamic
Aspects
of
Ruby
Section
1.5.
Training
Your
Intuition:
Things
to
Remember
Section
1.6.
Ruby
Jargon
and
Slang
Section
1.7.
Conclusion
Chapter
2.
Working
with
Strings
Section
2.1.
Representing
Ordinary
Strings
Section
2.2.
Representing
Strings
with
Alternate
Notations
Section
3
4
2.3.
Using
Here-Documents
Section
2.4.
Finding
the
Length
of
a
String
Section
2.5.
Processing
a
Line
at
a
Time
Section
2.6.
Processing
a
Byte
at
a
Time
Section
2.7.
Performing
Specialized
String
Comparisons
Section
2.8.
Tokenizing
a
String
Section
2.9.
Formatting
a
String
Section
2.10.
Using
Strings
As
IO
Objects
Section
2.11.
Controlling
Uppercase
4
5
and
Lowercase
Section
2.12.
Accessing
and
Assigning
Substrings
Section
2.13.
Substituting
in
Strings
Section
2.14.
Searching
a
String
Section
2.15.
Converting
Between
Characters
and
ASCII
Codes
Section
2.16.
Implicit
and
Explicit
Conversion
Section
2.17.
Appending
an
Item
Onto
a
String
Section
2.18.
Removing
Trailing
Newlines
and
Other
Characters
Section
2.19.
Trimming
Whitespace
from
a
5
6
String
Section
2.20.
Repeating
Strings
Section
2.21.
Embedding
Expressions
Within
Strings
Section
2.22.
Delayed
Interpolation
of
Strings
Section
2.23.
Parsing
Comma-Separated
Data
Section
2.24.
Converting
Strings
to
Numbers
(Decimal
and
Otherwise)
Section
2.25.
Encoding
and
Decoding
rot13
Text
Section
2.26.
Encrypting
Strings
Section
2.27.
Compressing
Strings
Section
2.28.
Counting
Characters
in
Strings
Section
2.29.
6
7
Reversing
a
String
Section
2.30.
Removing
Duplicate
Characters
Section
2.31.
Removing
Specific
Characters
Section
2.32.
Printing
Special
Characters
Section
2.33.
Generating
Successive
Strings
Section
2.34.
Calculating
a
32-Bit
CRC
Section
2.35.
Calculating
the
MD5
Hash
of
a
String
Section
2.36.
Calculating
the
Levenshtein
Distance
Between
Two
Strings
Section
2.37.
Encoding
and
Decoding
base64
Strings
7
8
Section
2.38.
Encoding
and
Decoding
Strings
(uuencode/uudecode)
Section
2.39.
Expanding
and
Compressing
Tab
Characters
Section
2.40.
Wrapping
Lines
of
Text
Section
2.41.
Conclusion
Chapter
3.
Working
with
Regular
Expressions
Section
3.1.
Regular
Expression
Syntax
Section
3.2.
Compiling
Regular
Expressions
Section
3.3.
Escaping
Special
Characters
Section
3.4.
Using
Anchors
Section
3.5.
Using
Quantifiers
Section
8
9
3.6.
Positive
and
Negative
Lookahead
Section
3.7.
Accessing
Backreferences
Section
3.8.
Using
Character
Classes
Section
3.9.
Extended
Regular
Expressions
Section
3.10.
Matching
a
Newline
with
a
Dot
Section
3.11.
Using
Embedded
Options
Section
3.12.
Using
Embedded
Subexpressions
Section
3.13.
Ruby
and
Oniguruma
Section
3.14.
A
Few
Sample
Regular
Expressions
Section
3.15.
Conclusion
Chapter
9
10
4.
Internationalization
in
Ruby
Section
4.1.
Background
and
Terminology
Section
4.2.
Coding
in
a
Post-ASCII
World
Section
4.3.
Using
Message
Catalogs
Section
4.4.
Conclusion
Chapter
5.
Performing
Numerical
Calculations
Section
5.1.
Representing
Numbers
in
Ruby
Section
5.2.
Basic
Operations
on
Numbers
Section
5.3.
Rounding
Floating
Point
Values
Section
5.4.
Comparing
Floating
Point
Numbers
10
11
Section
5.5.
Formatting
Numbers
for
Output
Section
5.6.
Formatting
Numbers
with
Commas
Section
5.7.
Working
with
Very
Large
Integers
Section
5.8.
Using
BigDecimal
Section
5.9.
Working
with
Rational
Values
Section
5.10.
Matrix
Manipulation
Section
5.11.
Working
with
Complex
Numbers
Section
5.12.
Using
mathn
Section
5.13.
Finding
Prime
Factorization,
GCD,
and
LCM
Section
5.14.
Working
11
12
with
Prime
Numbers
Section
5.15.
Implicit
and
Explicit
Numeric
Conversion
Section
5.16.
Coercing
Numeric
Values
Section
5.17.
Performing
Bit-level
Operations
on
Numbers
Section
5.18.
Performing
Base
Conversions
Section
5.19.
Finding
Cube
Roots,
Fourth
Roots,
and
so
on
Section
5.20.
Determining
the
Architecture's
Byte
Order
Section
5.21.
Numerical
Computation
of
a
Definite
Integral
Section
5.22.
12
13
Trigonometry
in
Degrees,
Radians,
and
Grads
Section
5.23.
More
Advanced
Trigonometry
Section
5.24.
Finding
Logarithms
with
Arbitrary
Bases
Section
5.25.
Finding
the
Mean,
Median,
and
Mode
of
a
Data
Set
Section
5.26.
Variance
and
Standard
Deviation
Section
5.27.
Finding
a
Correlation
Coefficient
Section
5.28.
Generating
Random
Numbers
Section
5.29.
Caching
Functions
with
memoize
Section
13
14
5.30.
Conclusion
Chapter
6.
Symbols
and
Ranges
Section
6.1.
Symbols
Section
6.2.
Ranges
Section
6.3.
Conclusion
Chapter
7.
Working
with
Times
and
Dates
Section
7.1.
Determining
the
Current
Time
Section
7.2.
Working
with
Specific
Times
(Post-epoch)
Section
7.3.
Determining
the
Day
of
the
Week
Section
7.4.
Determining
the
Date
of
Easter
Section
14
15
7.5.
Finding
the
Nth
Weekday
in
a
Month
Section
7.6.
Converting
Between
Seconds
and
Larger
Units
Section
7.7.
Converting
To
and
From
the
Epoch
Section
7.8.
Working
with
Leap
Seconds:
Don't!
Section
7.9.
Finding
the
Day
of
the
Year
Section
7.10.
Validating
a
Date/Time
Section
7.11.
Finding
the
Week
of
the
Year
Section
7.12.
15
Other documents randomly have
different content
what the fifty are doing"? No, you may be quite sure that they will
look at the deficiency of the four hundred and fifty, and say, "Is this
a Church of Christ?" Who blames them?
A living Church must work, and it must work on, and it must send
life through every part and fragment of its whole frame, or else it
has begun to die. It is not a small thing, of no concern, if some
members of a Church are doing nothing by being idle. The work that
a Church has to do is the creation of living Christian character, and
of the conviction that being in Church on Sunday and belonging to a
congregation make a man a kinder brother, or a more loving father
or husband, and make a woman a better mother or a more kindly
neighbour. That is the best work a Church can do, and that does not
come to a man through a dead Church. A living Church must be
making itself felt all around in the world outside by work of that
kind; and I say that it is not a matter of no consequence if some
members of a Church are not receiving and not transmitting that
warmth and activity. It is not a small matter if one organ of my body
be dying, be passing into mortification; it means death to the whole
body, and I must cut it off unless life can be brought back again into
it. It is the very law of life, as God has made it, that everything
which has life in it must be working; it cannot stop. If your heart
stops it is death; nothing else can make it stop but death. If any
organ in your body is always receiving, but giving nothing, and not
sending out what it gets, improved, to the rest, it means diseased
life, it means death. Does the stomach receive its daily food to keep
it to itself, as we so often receive the prayers and sermons in a
Church? No; as soon as the feeding is done the hard work begins;
the stomach gives it to the blood, and what does the blood do? As
the great carrier of the system, it delivers it here and there—here a
little to this muscle, there to that bone, there to the brain, and all
through the body. And what the muscles and the other parts have
received do they keep? No; if the various portions of the body did
not give out what they receive they would get choked; it would be
death by surfeit; they must work. And so the circle of life goes
round; stop it at any one point, and you spoil the whole circle. If the
blood-vessels do not do their work, if the muscles do not do their
work, and so on throughout the entire system, it means this, that
that body is not healthy; it means death to the whole frame. A
business man said to me yesterday, "As soon as a man ceases
pushing his business, and does not endeavour to extend it, it falls
off." He does not want actually to increase it, but he must adopt that
plan to keep it up to its present mark. The Church, alas! has not
been willing to increase its work, desiring to take on other
responsibilities; it does not say, "I cannot rest while people are cold
and not interested in doing the Church's work, not bent upon
bringing in sinners, and bringing children into the Sunday-schools to
be taught to love and reverence religion, and causing people whose
life is sour and bitter to be soothed and comforted."
What I have been pressing upon you is the law of life. Is it a hard
law? No, it is a kind law. That is how God rewards you for what you
have done; He gives you more work to do. In reading the parable of
the men to whom it was assigned to rule over the cities did you ever
mark how they were rewarded? Here is a man who has actively and
effectively used ten talents. How does his lord reward him—by giving
him a sinecure? No; he says, "You shall be ruler over ten cities;" and
in the same way the man who has been successful with five talents
is made ruler over five cities. Did you ever know a man who had
served his country well, and benefited it, wish to withdraw into a
drawing-room, and spend the remainder of his life in luxury and
ease? Did you ever know a successful general who wanted to get a
big fortune and to retire? No; successful men cannot be rewarded
better than by giving them a deal more to do—larger responsibilities,
larger powers, a larger sense of strength successfully exerted. That
is the blessing and the joy which shall go with larger toil, and
grander accomplishment, and brighter goodness. The few who are
used to work shall have plenty of work. I take it as a sign that God is
pleased with the results of a Church when He gives them new work
to do, and the heart to take it up. It is not extra work; it is the
reward of the past, and it is a step that shall lead you to a higher
throne. Nay, more; work is indispensable to the enjoyment of a
Church's good. No Church can heartily enjoy what we call religious
privileges unless it is working hard; and no individual member of
that Church will get the good of it unless he is taking a part in the
Church's work. He does not need to be an office-bearer or anything
of that sort; his work may be just friendliness to others in the house
of God, showing a kind spirit to them or taking an interest in them,
showing neighbourliness by his Church character. Do not think that it
is a high array of talents that is required; no, it is the Church's
function of being "all of one mind," and knit together and helping
one another, and sympathising with one another, being bound up in
the common lot of disasters and trials. I say that no individual
member, unless he is taking his part, is a living member of that
Church. If people are very fastidious about the doctrines which are
preached, if people are searching into the sense of every hymn or
prayer, if people are finding fault with the way in which everything is
done, then it may be that the Church is to blame; but if the Church
is doing its work as well as any poor human Church can do it, I
advise such a one to say to himself, "May not I be to blame?" If you
think that the daily food which is provided for you is not properly
cooked, and it is not of the proper sort, and does not taste well, is it
not your doctor you want to go to, to ask him to cure you of
dyspepsia? And in all probability he will recommend to you exercise
and hard work. A hard-working man does not complain even of dry
bread; he is not particular; he has an appetite. I have known, in the
Church to which I belonged before I began to preach, how pleased I
was even with sermons which had no originality in them if I saw that
they were part of the common work. It was my home, and you do
not criticise your own home; and you do not criticise your father and
mother; you believe in the power which you get from your father,
because he is yours. Throw yourself into the Church, become a part
of it, take an interest in everything, and it is wonderful how little you
will have of criticism about you. Take plenty of spiritual exercise, and
you may be sure that even a bare and poor spiritual diet will agree
wonderfully with you.
Christ reckons with Churches—Christ at God's right hand, what is
He about? When He was down here on earth He went hither and
thither, seeking the lost; He forgave the woman that wept at His
feet; He saved the dying thief. Oh, gentle, loving Saviour Jesus, "the
same yesterday, and to-day, and for ever"! And at God's right hand
He is loving, and pitying, and forgiving my sins, and pleased with my
tears of repentance—forbearing, tender, saving Jesus! We preach
that; we should not be men, we should not be Christians, if we did
not preach that; we could not live without that thought of Jesus. But
let us be true; do not let us hide facts. That same Jesus stands at
God's right hand, judging the Churches, reckoning with them. Oh, to
a penitent sinner He is all heart, but to a slothful servant He is a
faithful Master! He reckons with Churches; He reckons with
individuals. It would not be kind if He did not reckon with you.
Would you wish Him not to reckon? Would you like to say, "I do not
care whether He does anything with me or not"? Ah, I should begin
to think that Christ did not love you at all if He did not reckon with
you, if he were not grieved and angry when you did not do your
duty to Him and to your neighbour! Where would be the dignity of
life if we did not believe in a great last judgment, with a stern
reckoning with sin? We should sink to the level of the animals if
there were no judgment. It proves that man has an immortal spirit.
What does it matter, with the animals, what they do? But God must
reckon with man, and He would not be reigning if man had not to
reckon on an awful judgment-day for every spirit. It is a proof to me
that I am of moment, and that my human spirit has dignity; it makes
clear to me my place in the universe, and my claim to immortality; it
shows me that I am of sufficient importance to necessitate God's
reckoning with me. Churches, too, must be reckoned with. It would
argue that they were mere nurseries, were hospitals for people to be
convalescent in, mere nonentities, counting for nothing in the great
work of the world and the mighty purpose of God, if we did not
know that Christ was to reckon with them. They have great powers
given to them, they have great capabilities, they have tremendous
responsibilities; they can fulfil God's purposes in the world, and
nothing but their supineness and listlessness hinders them; and God
and Christ must reckon with Churches. I would not have it different.
Let Them reckon with them, and let me remember that They will
reckon with me and my Church; and let me be full of good works.
Christ must reckon with it, for the Church's sake. How could He but
care? Oh, if we did but believe what we preach and what we read in
our Gospels! It is that Jesus lost all things which men look for; that
He turned aside from every joy of life; that He gathered sorrows
around Him; that His great heart was broken upon the cross; that
He spent all His life—for what? That He might save men from eternal
banishment from God; that He might put happiness instead of
misery into every house where there are unholiness and evil; that He
might make men brighter and better. His great heart was all warm
and eager for it. Oh, what He has sacrificed! He is a disappointed,
lost man if He fails, and if He succeeds it must be done through His
congregations, through His Churches, through men and women
here. How can He but care? how can He but watch? As all the
Church's activity goes by before God's throne, the recording angel
takes it down. Does He see a Church whose members have taught
the little children on the Sunday afternoon to love Him better; a
Church which has made men whose faith in Him was nearly crushed
out by sinful practices think again of Christ and heaven; a Church
which has put a man once more on his feet, and given him to his
wife and children, and they have been glad because the father and
husband has loved them again? How can it but be that those who
fight for Him should rejoice when a Church is thus acting for God, as
compared with a Church that does nothing? Oh, if we could but
believe and feel, when we come into church on a Sunday morning,
that Jesus is watching all that is going on—watching to see if our
hearts are made more soft and tender, more reverent and gentle,
more full of kind thoughts to those who sit round about us—
watching to see if we speak a kind word—watching to see if we
resolve to do more for Him—watching to see if we can give liberally
to help in what is being done for Him, and to support those who
have special gifts for special work! The Lord Jesus has His eyes upon
us in this spiritual Church framework. It does bind us together, and,
thank God! I will say of ourselves has bound us together for much
good work, and I believe will bind us more closely together. If every
Sunday morning we only felt and believed it, and came and knelt
and praised, and listened with light in our hearts, we should do our
work well and have the reward of very faithful servants.
V.
A LESSON IN CHRISTIAN HELP.
"Wherefore lift up the hands which hang down, and the [en]feeble[d] knees;
and make straight [smooth] paths for [with] your feet, lest that which is lame be
turned out of the way; but let it rather be healed [or, in order that that which is
lame may not be caused to go astray, but may rather be healed]."—Heb. xii. 12,
13.
Finally, remark how the text suggests that you are to render them
assistance and support. Suppose it is a brother becoming involved in
worldly or dangerous entanglements, lapsing into doubtful courses,
or yielding to the freezing influence of ungodly or sceptical
companions. Now, direct interference, immediate intervention, is not
always possible, is often difficult, sometimes impossible. Besides,
often the mischief is already done ere you perceive it. Or again, it is
intellectual difficulty or doubt that you have to deal with. To meet
the objections, to remove the doubts, would be well, but perchance
you are not skilled, competent to do that; or it may be they are such
as cannot be removed. Here, again, direct remedies may be
impracticable. Are you, then, powerless, helpless to aid? Far from it.
A method better than all immediate and special action lies open for
you, for all Christian men and women. "Make straight, smooth paths
with your feet." It may be you cannot personally do anything to
support the maimed or arrest the erring, but you can nevertheless
render most important service. As a flock of sheep, by all moving on
regularly in one united mass, with their feet smooth down the
roughnesses and entanglements of the way, breaking down the
entrapping brambles, clearing away the furze and tripping briers,
leaving behind them a plain and open track, trodden down and freed
of obstructions, stones, and stumbling-blocks, so that the weak and
crippled are not turned aside or overthrown; so if the strong and
whole body of Christian men and women will but move steadfastly
on amid the mazes of temptation and over the stumbling-stones of
evil, the feeble, tempted, erring will be helped forward, and, borne
along in the united, combined advance, will not fall behind or be
baffled, overthrown, or led astray by difficulties and impediments.
Yes, infinitely more powerful than any isolated rebuke, or warning,
or intervention, is the force of united Christian example and
protecting aid, to keep in the right path the halt, the maimed, the
blind. What the tempted, the world-seduced, the doubting, the
unbelieving need is not rebukes, cautions, exhortations, refutations
of objections, but it is to be drawn out of the cold, freezing world of
evil and doubt into the warm, living, breathing atmosphere of loving,
real Christian fellowship; to be surrounded by the resistless
progression in rectitude, in faith and love, of Christlike, God-fearing
souls. With blows of reprimand and logical argument you may pound
and break the ice of sin and unbelief, but though broken, it remains
cold, winter ice, freezing still. Bring it into the summer radiance, the
golden sunshine of warm Christian life; then it will be melted away,
and the hard heart grow soft and tender in the breath of the all-
quickening Spirit.
Brethren, it is for this that the Master has gathered us into families
and homes, friendly circles and fellowships, congregations and
churches. It is because some of His own will be very weak, timid,
facile to fall, lukewarm, tempted, erring, doubting. Have you settled
it with yourself, strong, high-principled, undoubting Christian, that
the Church is not a club of stainless, perfect souls, but that there are
to be in it such foolish, feeble, ignoble ones, real doubters,
backsliders, wanderers, and that yet they are your brethren, little
ones of the common Lord? And it is just for their sake, that they
may be saved, that He has caused us to be knit together into one
flock, that they may be kept from falling, restored when they err,
strengthened, cheered, loved, and helped. Ah, we know not for the
most part how much there is of strength and comfort for us in this!
For all of us there is, for even the very strong, they that have
comforted most, sometimes will be very weak themselves, and long
for sympathy and support. Once even the blessed Master Himself in
broken-hearted agony besought that help, and prayed His followers,
"Tarry ye here, and watch with Me." My brother, if you can
remember a time when you were enabled to endure, to conquer,
because Christian friends stood around you and watched with you,
then be pitiful to your tempted brother now. It may be that his
limping, stumbling gait is very unpleasant to you, and you do not
care to be known as of his company; his halt, ungainly walk does
not look well beside your high, triumphal march. Perchance in
heaven there is more good pleasure over his paltry pace than over
your proud progress. Ah, friends, we see too little now to judge, who
know not one another's hurts and trials! We who have the sunshine
on our path, and bounding vigour in our tread, forget, I fear, how to
many struggling souls the path is very flinty, rough, and hard, swept
by wild storms of passion and rushing floods of fierce temptation;
while the thick darkness and awful solitude, haunted by mocking
spectres of death-like doubts and fears, wrap them round with a
chill, paralysing shroud of despair. You who have never been so
tempted, give God thanks and be humble, very humble, and lowly,
and merciful. Have infinite forbearance and compassion. Remember
that one harsh word, one hopeless look from you may numb a last
feeble grasp on goodness, and sink a brother despairing in the black
abyss; while a kindly look, a helping hand, a loving, free, generous
pardon and word of hope from you may be to him the voice of
eternal forgiveness in heaven, and power of restoration even now.
Brethren, when, against some brother who has fallen, sinned or
gone astray, quick anger flames in your heart, and to your lips sharp,
cutting words of reprobation leap, let this word of Christ ring in your
ears: "Whoso shall offend one of these little ones which believe in
Me, it were better for him that a millstone were hanged about his
neck, and that he were drowned in the depth of the sea." And as
that word of dreadful condemnation awes each lurid spark of hasty
anger from your soul, let these words of endless peace, and joy, and
mercy steal in, and soften all your spirit into gentlest pity,
tenderness, and love: "Brethren, if any of you do err from the truth,
and one convert him; let him know, that he which converteth the
sinner from the error of his way shall save a soul from death, and
shall hide a multitude of sins." "Wherefore let us lift up the hands
which hang down, and the feeble knees; and let us make straight
paths with our feet, lest that which is lame be turned out of the way;
but let it rather be healed."
VI.
JOSEPH'S FAITH.[1]
"By faith Joseph, when he died, made mention of the departing of the children
of Israel; and gave commandment concerning his bones."—Heb. xi. 22.
I N that verse we hear the last of the brazen serpent; this morning
I am going to put before you some practical thoughts that spring
from the whole story. What has the brazen serpent got to do with
our modern life? The children of Israel, with their cattle and sheep,
wandering about the wilderness, get sick of it, complain against God
and against Moses, and are ready to break into active rebellion.
They are punished by a sudden attack of venomous serpents that
sting them, and they, in dread of death, lose that sham courage of
theirs and independence, and they appeal to God to save them. He
bids Moses manufacture a mysterious brazen serpent, put it upon a
pole, and then, if any dying Israelite looks at that serpent it heals
him. The brazen image is regarded ever after as clothed with great
sanctity. It was once the supernatural channel of life direct from God
to dying men, and so, in course of time, men came to it, and in its
vicinity offered up their prayers, and finally burned incense to it, and
surrounded it with a false worship. Then comes a reforming king,
who regards that symbol of wonderful old power Divine and
goodness, that has been turned into an idolatrous and superstitious
instrument of human degradation; and, divided between his respect
for it and his consciousness of the mischief it is doing, he finally
decides to break it into pieces, scatters it into the dust, and there is
an end of it. Now, what has all that got to do with your life and
mine? The Hebrew history does not have its meaning lying just on
the face of it. If you take the bare letter you will not get much out of
it; if you stick to the bare letter you will find yourself landed in a
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com