def rvm_env(registry, xml_parent, data):
 rpo = XML.SubElement(xml_parent, 'ruby-proxy-object')
 ro_class = 'Jenkins::Plugin::Proxies::BuildWrapper'
 ro = XML.SubElement(rpo, 'ruby-object', {'ruby-class': ro_class, 'pluginid': 'rvm'})
 o = XML.SubElement(ro, 'object', {'ruby-class': 'RvmWrapper', 'pluginid': 'rvm'})
 XML.SubElement(o, 'impl', {'pluginid': 'rvm', 'ruby-class': 'String'}).text = data['implementation']
 XML.SubElement(ro, 'pluginid', {'pluginid': 'rvm', 'ruby-class': 'String'}).text = 'rvm'

def rvm_env ( registry , xml_parent , data ) : rpo = XML . SubElement ( xml_parent , 'ruby-proxy-object' ) ro_class = 'Jenkins::Plugin::Proxies::BuildWrapper' ro = XML . SubElement ( rpo , 'ruby-object' , { 'ruby-class' : ro_class , 'pluginid' : 'rvm' } ) o = XML . SubElement ( ro , 'object' , { 'ruby-class' : 'RvmWrapper' , 'pluginid' : 'rvm' } ) XML . SubElement ( o , 'impl' , { 'pluginid' : 'rvm' , 'ruby-class' : 'String' } ) . text = data [ 'implementation' ] XML . SubElement ( ro , 'pluginid' , { 'pluginid' : 'rvm' , 'ruby-class' : 'String' } ) . text = 'rvm'
yaml: rvm-env set the rvm implementation requires the jenkins :jenkins-wiki:rvm plugin <rvm+plugin> .