examples/example.rb
Method option_parser
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def option_parser
OptionParser.new do |op|
op.on('-p', '--port N', Integer, 'Bind to a specific port') do |t|
@port = t
end
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(user, password, account, data_dir, read_only)