Sha256: f103898d0d961224103a5c75623ff5f3376de7f84ebfd1b987f4529fefaed136
Contents?: true
Size: 1.38 KB
Versions: 10
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true # # Copyright (c) 2006-2023 Hal Brodigan (postmodern.mod3 at gmail.com) # # Ronin is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ronin is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # 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/core/cli/ruby_shell' module Ronin class CLI # # The interactive Ruby shell for {Ronin}. # class RubyShell < Core::CLI::RubyShell # # Initializes the `ronin irb` Ruby shell. # # @param [String] name # The name of the IRB shell. # # @param [Object] context # Custom context to launch IRB from within. # # @param [Hash{Symbol => Object}] kwargs # Additional keyword arguments for # `Ronin::Core::CLI::RubyShell#initialize`. # def initialize(name: 'ronin', context: Ronin, **kwargs) super(name: name, context: context, **kwargs) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems