>>>>> "m" == markus jais <mjais / web.de> writes:

m> func(one, two)

 In this case ruby call the methods `one' and `two', and the result is
 given as arguments to func.

m> does anybody know  a solution

 You can write this :

pigeon% cat b.rb
#!/usr/bin/ruby
def func(a, b)
        a.call
        b.call
end
 
def one
        puts "in one"
end
 
def two
        puts "in two"
end
 
func(method(:one), method(:two))
pigeon% 

pigeon% b.rb
in one
in two
pigeon% 


Guy Decoux