spec/liberty_buildpack/container/feature_manager_spec.rb
#----------------------------------------------
# Helper method that adds <featureManager> and <feature> into a REXML server.xml doc
#----------------------------------------------
Helper method that adds  and  into a REXML server.xml doc
Helper method that adds and into a REXML server . xml doc
def add_features(doc, features)
      fm = REXML::Element.new('featureManager', doc)
      features.each do |feature|
        f = REXML::Element.new('feature', fm)
        f.add_text(feature)
      end
    end
def add_features ( doc , features ) fm = REXML :: Element . new ( 'featureManager' , doc ) features . each do | feature | f = REXML :: Element . new ( 'feature' , fm ) f . add_text ( feature ) end end
Helper method that adds <featureManager> and <feature> into a REXML server.xml doc
Helper method that adds <featureManager > and <feature > into a REXML server . xml doc
doc
features