public
Rubygem
Description: Vanilla in Ruby
Homepage: http://lazyatom.com
Clone URL: git://github.com/lazyatom/vanilla-rb.git
We don't have cattr_accessor
lazyatom (author)
Thu Aug 14 14:29:03 -0700 2008
commit  d3ee2f20d4e2d71375e6c5c92ed7429bf1f21b41
tree    3d5488fa4dc444f7ab32f979651368d4edc30754
parent  601e2fe80bb15a7720d76da6cc15066e14bbfc13
...
1
2
3
 
 
 
 
 
 
 
4
5
 
6
7
8
9
10
11
12
13
14
15
16
...
1
 
 
2
3
4
5
6
7
8
9
 
10
11
 
 
12
13
 
 
 
14
15
16
0
@@ -1,16 +1,16 @@
0
 class Defensio
0
-  cattr_accessor :format
0
-  self.format = :xml
0
+  class << self
0
+    attr_accessor :format
0
+    attr_accessor :service_type
0
+    attr_accessor :api_version
0
+    attr_accessor :api_key
0
+    attr_accessor :owner_url
0
+  end
0
   
0
-  cattr_accessor :service_type
0
+  self.format = :xml
0
   self.service_type = :app # Can be :blog
0
-  
0
-  cattr_accessor :api_version
0
   self.api_version = '1.2'
0
   
0
-  cattr_accessor :api_key
0
-  cattr_accessor :owner_url
0
-  
0
   def self.configure(confhash)
0
     if confhash['test']
0
       @mock = true

Comments