lib/ronin/cli/commands/irb.rb in ronin-2.0.0.beta3 vs lib/ronin/cli/commands/irb.rb in ronin-2.0.0.beta4
- old
+ new
@@ -15,11 +15,11 @@
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <https://www.gnu.org/licenses/>.
#
require 'ronin/cli/command'
-require 'ronin/core/cli/ruby_shell'
+require 'ronin/cli/ruby_shell'
module Ronin
class CLI
module Commands
#
@@ -28,10 +28,11 @@
# ## Usage
#
# ronin irb [options]
#
# ## Options
+ #
# -I, --include DIR Directory to add to $LOAD_PATH
# -r, --require PATH Ruby files to require
# -h, --help Print help information
#
class Irb < Command
@@ -95,10 +96,10 @@
@require_paths.each do |path|
require(path)
end
require 'ronin'
- Core::CLI::RubyShell.start(context: Ronin)
+ RubyShell.start
end
end
end
end