while possibly confusing, the --shlibs value is accessible as attributes[:deb_shlibs] so you don't need to set it as an ivar.