GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
use camelcase when finding an application
automatthew (author)
Wed Jul 23 10:00:43 -0700 2008
commit  00b809b5284ae259df11eb7ab7abff3875007fbb
tree    f8289e242bbf779ed01fc6a5b77aa4f8fec58756
parent  bac7cb35388eeb64d3f2af1449b17fa527004e4a
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@ module Waves
0
   
0
   class Applications < Array
0
     def []( name )
0
- self.find { |app| app.name == name.to_s }
0
+ self.find { |app| app.name == name.to_s.camel_case }
0
     end
0
   end
0
   

Comments

    No one has commented yet.