class RinRubyWithoutRConstant
Constants
- DEFAULT_PORT_NUMBER
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
RinRuby::new
# File lib/rinruby_without_r_constant.rb, line 16 def initialize(*args) if args.size == 1 and args[0].kind_of?(Hash) then args[0][:port_number] ||= DEFAULT_PORT_NUMBER else args[3] ||= DEFAULT_PORT_NUMBER end super(*args) end