Showing 2 of 2 total issues
Method read
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.read(arguments = ARGV)
options = Hash.new
optparse = OptionParser.new do |opts|
opts.on('-h', '--help', 'Display this message') do
puts opts
Method run_interactive_mode
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.run_interactive_mode
options = Hash.new
puts "gemstrap: starting interactive mode"
puts 'gemstrap: please type in the required fields:'
options[:gem_name] = prompt(' gem name: ')