lib/vindetta/generator.rb in vindetta-0.21.0 vs lib/vindetta/generator.rb in vindetta-0.22.0
- old
+ new
@@ -10,10 +10,10 @@
@wmis ||= begin
path = File.expand_path("../data/wmi.yaml", __FILE__)
YAML.load_file(path)["wmi"].keys
end
- @wmis.sample.rjust(WMI_LENGTH, "9")
+ "#{@wmis.sample}".rjust(WMI_LENGTH, "9")
end
def self.vds(_options = {})
VDS_CHARACTERS.sample(VDS_LENGTH).join("")
end