Method: Qreport::Connection#initialize
- Defined in:
- lib/qreport/connection.rb
#initialize(args = nil) ⇒ Connection
Returns a new instance of Connection.
18 19 20 21 22 23 24 |
# File 'lib/qreport/connection.rb', line 18 def initialize args = nil @arguments = args initialize_copy nil if conn = @arguments && @arguments.delete(:conn) self.conn = conn end end |