class DscLcmConfiguration::Factory
Public Class Methods
create(version = "wmf4", options = {})
click to toggle source
# File lib/dsc_lcm_configuration.rb, line 8 def self.create(version = "wmf4", options = {}) case version.to_s.downcase when "4", "wmf4_with_update" LcmV4.new(options) when "5", "wmf5" LcmV5.new(options) else LcmBase.new(options) end end