Class: RouteArray
- Inherits:
-
Array
- Object
- Array
- RouteArray
- Defined in:
- lib/msf/core/session.rb
Overview
:nodoc: all
Instance Attribute Summary collapse
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
- #<<(val) ⇒ Object
- #delete(val) ⇒ Object
-
#initialize(sess) ⇒ RouteArray
constructor
A new instance of RouteArray.
Constructor Details
#initialize(sess) ⇒ RouteArray
Returns a new instance of RouteArray.
362 363 364 365 |
# File 'lib/msf/core/session.rb', line 362 def initialize(sess) self.session = sess super() end |
Instance Attribute Details
#session ⇒ Object
Returns the value of attribute session.
377 378 379 |
# File 'lib/msf/core/session.rb', line 377 def session @session end |
Instance Method Details
#<<(val) ⇒ Object
367 368 369 370 |
# File 'lib/msf/core/session.rb', line 367 def <<(val) session.framework.events.on_session_route(session, val) super end |
#delete(val) ⇒ Object
372 373 374 375 |
# File 'lib/msf/core/session.rb', line 372 def delete(val) session.framework.events.on_session_route_remove(session, val) super end |