[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Released 1.0.0 yoda

Ryan Davis

4/23/2009 4:32:00 AM


released yoda version 1.0.0 has been!

* <http://rubyforge.org/sea...

Spec yoda will, and spec you shall too.

require 'yoda'

class Bowling
def hit(pins)
end

def score
0
end
end

Bowling.yoda {
"score 0 for gutter game".it_will {
bowling = Bowling.new
20.times { bowling.hit(0) }

bowling.score 1.it_is?
bowling.score 42.it_is_not!
}
}

Changes:

### 1.0.0 / 2009-04-22

* 1 major enhancement

* Birthday!

* <http://rubyforge.org/sea...


2 Answers

Aaron Patterson

4/23/2009 4:34:00 AM

0

On Thu, Apr 23, 2009 at 01:31:37PM +0900, Ryan Davis wrote:
>
> released yoda version 1.0.0 has been!

I tried to install, and I get this error:

[aaron@Jordan ~]$ gem install yoda
ERROR: gem could not be found, all around you it is.
[aaron@Jordan ~]$ gem -v
1.3.1
[aaron@Jordan ~]$

Do I need rubygems 1.3.2?

--
Aaron Patterson
http://tenderlovem...

Eric Hodel

4/23/2009 6:30:00 AM

0

On Apr 22, 2009, at 21:34, Aaron Patterson wrote:
> On Thu, Apr 23, 2009 at 01:31:37PM +0900, Ryan Davis wrote:
>>
>> released yoda version 1.0.0 has been!
>
> I tried to install, and I get this error:
>
> [aaron@Jordan ~]$ gem install yoda
> ERROR: gem could not be found, all around you it is.
> [aaron@Jordan ~]$ gem -v
> 1.3.1
> [aaron@Jordan ~]$
>
> Do I need rubygems 1.3.2?


I guess so:

$ sudo gem install yoda
yoda-1.0.0 installed successfully it is
Gems installed are 1
yoda-1.0.0 ri documentation it is installing...
yoda-1.0.0 RDoc documentation it is installing...
$ gem -v
1.3.2