Sha256: cae9910f3d8ce1020a8c2dea8bf436f7d91130501acfe99dec5ea4b572413364

Contents?: true

Size: 320 Bytes

Versions: 9

Compression:

Stored size: 320 Bytes

Contents

require_relative '../../../../lib/arachni'

def framework
    @@framework ||= Arachni::Framework.new
end

def current_module
    @@current_module ||=
        framework.modules[ File.basename( caller.first.split( ':' ).first, '.rb' ) ]
end

def module_name
    File.basename( caller.first.split( ':' ).first, '.rb' )
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/support/servers/modules/module_server.rb
arachni-0.4.6 spec/support/servers/modules/module_server.rb
arachni-0.4.5.2 spec/support/servers/modules/module_server.rb
arachni-0.4.5.1 spec/support/servers/modules/module_server.rb
arachni-0.4.5 spec/support/servers/modules/module_server.rb
arachni-0.4.4 spec/support/servers/modules/module_server.rb
arachni-0.4.3.2 spec/support/servers/modules/module_server.rb
arachni-0.4.3.1 spec/support/servers/modules/module_server.rb
arachni-0.4.3 spec/support/servers/modules/module_server.rb