Will this ever be supported?
// c#
public void Tag(Action action)
{
action();
}
// rb
tag do
puts ‘yay!’
end
Cheers,
Andrew.
Will this ever be supported?
// c#
public void Tag(Action action)
{
action();
}
// rb
tag do
puts ‘yay!’
end
Cheers,
Andrew.
This should work:
tag Action.new { puts ‘foo’ }
Tomas
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs