public
Description: Vanilla in Ruby
Homepage: http://lazyatom.com
Clone URL: git://github.com/lazyatom/vanilla-rb.git
Search Repo:
Dynasnip attributes changes should be reflected without restarting the 
server (fixes Ticket #4)
lazyatom (author)
Sun Jun 01 05:19:38 -0700 2008
commit  f783a8c4bee1d67ae247df60d6cfc19a7be474b5
tree    c14aa47583b1930c8e4aeb7736ad31a40151c77a
parent  731e9e41a80c6b70e307084d4f08e4622ccdc8ab
...
69
70
71
72
 
 
 
73
74
75
...
69
70
71
 
72
73
74
75
76
77
0
@@ -69,7 +69,9 @@ class Dynasnip < Vanilla::Renderers::Base
0
   end
0
   
0
   def method_missing(method, *args)
0
- if part = self.class.attribute(method)
0
+ if snip = Vanilla.snip(snip_name)
0
+ snip.get_value(method)
0
+ elsif part = self.class.attribute(method)
0
       part
0
     else
0
       super

Comments

    No one has commented yet.