Class: XCActivityLog::IDEActivityLogMessage

Inherits:
SerializedObject show all
Includes:
Enumerable
Defined in:
lib/xcactivitylog/objects.rb

Instance Method Summary collapse

Methods inherited from SerializedObject

#==, attribute, attributes, #eql?, #hash

Instance Method Details

#each {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



217
218
219
220
221
222
# File 'lib/xcactivitylog/objects.rb', line 217

def each(&blk)
  return enum_for(__method__) unless block_given?

  yield self
  submessages&.each { |s| s.each(&blk) }
end