lib/specinfra/command/base.rb in specinfra-2.0.0.beta17 vs lib/specinfra/command/base.rb in specinfra-2.0.0.beta18

- old
+ new

@@ -34,10 +34,10 @@ def create_command_class(resource_type) family = os[:family] version = os[:release] ? "V#{os[:release].to_i}" : nil - common_class = self.class.const_get('Specinfra').const_get('Command') + common_class = Specinfra::Command base_class = common_class.const_get('Base') os_class = family.nil? ? base_class : common_class.const_get(family.capitalize) if family && version begin