Sha256: 81024ef1c0f95812f439737a7a33afda7a7d1e4758978fef541d9a1ec273a4f9
Contents?: true
Size: 267 Bytes
Versions: 3
Compression:
Stored size: 267 Bytes
Contents
module NeteaseIM module Utils def self.check_required_params(params, names) missing_params = names.map(&:to_s) - params.keys.map(&:to_s) warn("Warn: missing required option: #{missing_params.join(',')}") if missing_params.size > 0 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
netease_im-0.1.2 | lib/netease_im/utils.rb |
netease_im-0.1.1 | lib/netease_im/utils.rb |
netease_im-0.1.0 | lib/netease_im/utils.rb |