add ruby_block resource, and parameter set code move to block