Hash + Block initialization for Ruby