spec/data/blee.rb in mole-1.0.2 vs spec/data/blee.rb in mole-1.0.3
- old
+ new
@@ -12,15 +12,21 @@
def blee_no_args
# puts ">>> Blee_No_Args"
end
- def blee_args( i, p )
- # puts ">>> Blee_Args #{i} -- #{p}"
+ def blee_args( a, b, c, d )
+ # puts ">>> Blee Many Args #{[a,b,c,d].join( "--" )}"
+ 20
end
- def blee_args_ret( p )
- "Hello #{p}"
+ def blee_block( a, b, c, d, &block )
+ # puts ">>> Blee Many Block #{[a,b,c,d,block].join( "--" )}"
+ 10
+ end
+
+ def blee_args_ret( a )
+ "Hello #{a}"
end
def blee_raise
raise "Blee exception"
end