Lines Matching refs:new
9 MethodDescription = Struct.new( :name, :body, :arguments )
17 context = Template::Context.new
22 context = Template::Context.new(
35 context = Template::Context.new(
46 context = Template::Context.new( :a => 3 )
55 context = Template::Context.new( :a => 3 )
64 context = Template::Context.new( :a => 1, :b => 2)
132 @group = Template::Group.new do
179 MethodDescription.new( 'eat', %q[puts( "ate %s %s" % [ number, @name ] )], %w( number ) ),
180 MethodDescription.new( :to_s, '@name.to_s.dup' )
223 MethodDescription.new( 'eat', %q[puts( "ate %s %s" % [ number, @name ] )], %w( number ) ),
224 MethodDescription.new( :to_s, '@name.to_s.dup' )