Class: XcodeResultBundleProcessor::KeywordStruct
- Inherits:
-
Struct
- Object
- Struct
- XcodeResultBundleProcessor::KeywordStruct
- Defined in:
- lib/xcoderesultbundleprocessor/keyword_struct.rb
Instance Method Summary collapse
-
#initialize(*args, **kwargs) ⇒ KeywordStruct
constructor
A new instance of KeywordStruct.
Constructor Details
#initialize(*args, **kwargs) ⇒ KeywordStruct
Returns a new instance of KeywordStruct.
4 5 6 7 8 |
# File 'lib/xcoderesultbundleprocessor/keyword_struct.rb', line 4 def initialize(*args, **kwargs) super() param_hash = kwargs.any? ? kwargs : Hash[members.zip(args)] param_hash.each { |k, v| self[k] = v } end |