class ProcessSettings::Settings
Attributes
json_doc[R]
Public Class Methods
new(json_doc)
click to toggle source
# File lib/process_settings/settings.rb, line 12 def initialize(json_doc) json_doc.is_a?(Hash) or raise ArgumentError, "ProcessSettings must be a Hash; got #{json_doc.inspect}" AbstractMonitor.ensure_no_symbols(json_doc) @json_doc = HashWithHashPath[json_doc] end
Public Instance Methods
==(rhs)
click to toggle source
# File lib/process_settings/settings.rb, line 20 def ==(rhs) json_doc == rhs.json_doc end
eql?(rhs)
click to toggle source
# File lib/process_settings/settings.rb, line 24 def eql?(rhs) self == rhs end