search for: meta_def

Displaying 3 results from an estimated 3 matches for "meta_def".

Did you mean: get_def
2012 Dec 14
0
Announce: Puppet 3.0.2-rc3 available
...ppet Labs Redmine site, using an affected puppet version of 3.0.2-rc3: https://projects.puppetlabs.com/projects/puppet/ ============================ ## Puppet 3.0.2-rc3 Release Notes ## ============================ #10963 Collector overrides should work in Ruby 1.9 Increase arity of child_of? meta_def to 1 child_of? defined for Puppet::Resource::Type objects has an arity of 1, but the meta_def of the same function created by Puppet::Parser::Collector objects has an arity of 0. This throws errors when the meta_def method is called with arguments. This commit matches the arity...
2007 Jul 07
0
[patch] no crumbs
...uot;if !v}path=#{self/''/''}"if v!=@k[k]}-[nil];self end;def to_s a=[];@headers.map{|k,v|[*v].map{|x|a<<"#{k}: #{x}"}};"Status: #{@status}#{Z+a*Z+ Z*2+ at body}"end;end;X=module Controllers;@r=[];class<<self;def r;@r;end;def R*u r=@r;Class.new{meta_def(:urls){u};meta_def(:inherited){|x|r<<x}}end;def M;def M Index: lib/camping-unabridged.rb =================================================================== --- lib/camping-unabridged.rb (revision 194) +++ lib/camping-unabridged.rb (working copy) @@ -438,7 +438,7 @@ # on before and after...
2007 Sep 25
16
putting away HashWithIndifferentAccess
...to get rid of any serious dependancies with this 1.6 release. Anything that''s not in stdlib has to go. Of course, camping-omnibus will still assume the whole ActiveRecord, Markaby, Mongrel setup that''s in the history books. Metaid can be removed and replaced with: def Object.meta_def n,&b (class<<self;self;end).instance_eval{define_method n,&b};end Markaby''s going to take much more work. Part of the issue is: how does an app tell Camping that it needs to use Markaby without screwing up the other apps? My hunch is we''ll use some eval''...