manveru/ffi-magic — pull request #1 by kwilczynski (2013-07-30 04:30:17+00:00)
Title: Fix undefined locsl variable "path" in Magic#load.

This fixes the following:

irb(main):001:0> require 'ffi-magic'
=> true
irb(main):002:0> magic = Magic.new
=> #>
irb(main):003:0> magic.load
NameError: undefined local variable or method `path' for #

Plus adds two new attribute readers: "flags" and "path" for convenience.

Signed-off-by: Krzysztof Wilczynski