On Sat, Oct 6, 2012 at 12:25 PM, wrote:
> Am 06.10.2012 12:12, schrieb Robert Klemme:
>
>> On Sat, Oct 6, 2012 at 1:21 AM, wrote:
>>
>>> 1.9.3-p194 :001 > text = '"--- this is a string ---" = "--- this is a
>>> string
>>> ---";'
>>> => "\"--- this is a string ---\" = \"--- this is a string --
On Sat, Oct 6, 2012 at 1:21 AM, wrote:
> 1.9.3-p194 :001 > text = '"--- this is a string ---" = "--- this is a string
> ---";'
> => "\"--- this is a string ---\" = \"--- this is a string ---\";"
> 1.9.3-p194 :002 > text.scan(/"(.*?)" = "(.*?)"/).flatten
> => ["--- this is a string ---", "--- t
On Sat, Oct 6, 2012 at 2:43 AM, Todd Benson wrote:
>>>
>>> first_date = Date.new(2012, 10, 1)
>>> last_date = Date.new(2012, 10, 31)
>>> range = (first_date..last_date)
>>> range.include?(Date.new(2012, 10, 5))
>>> => true
>>> range.include?(Date.new(2012, 11, 1))
>>> => false
> Ranges can't go b
On Sat, Oct 6, 2012 at 6:37 AM, Matthew Kerwin wrote:
> Just keep in mind that all (programming) languages are different, and the
> solutions to a single problem must necessarily be different in those
> languages.
>
> Writing a java program using code that works in C is just as "wrong."
>
> It jus