Method: Quartz::Client#initialize
- Defined in:
- lib/quartz/client.rb
#initialize(opts) ⇒ Client
Returns a new instance of Client.
3 4 5 6 7 8 9 |
# File 'lib/quartz/client.rb', line 3 def initialize(opts) @process = Quartz::GoProcess.new(opts) @structs = {} @process..each do |struct_name, | @structs[struct_name.to_sym] = Quartz::GoStruct.new(struct_name, , @process) end end |