lib/ronin/asm/shellcode.rb in ronin-asm-0.1.0 vs lib/ronin/asm/shellcode.rb in ronin-asm-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ # # Ronin ASM - A Ruby DSL for crafting Assembly programs and Shellcode. # -# Copyright (c) 2007-2012 Hal Brodigan (postmodern.mod3 at gmail.com) +# Copyright (c) 2007-2013 Hal Brodigan (postmodern.mod3 at gmail.com) # # This file is part of Ronin ASM. # # Ronin Asm is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -58,10 +58,10 @@ # @see Program#assemble # def assemble(options={}) output = Tempfile.new(['ronin-shellcode', '.bin']).path - super(output,options.merge(:format => :bin)) + super(output,options.merge(format: :bin)) return File.new(output,'rb').read end end