Class: BinData::Struct
- Inherits:
-
Object
- Object
- BinData::Struct
- Defined in:
- lib/binproxy/proxy_message.rb
Instance Method Summary collapse
Instance Method Details
#annotated_snapshot ⇒ Object
65 66 67 68 69 70 |
# File 'lib/binproxy/proxy_message.rb', line 65 def annotated_snapshot super.merge( contents: field_names.map do |name| o = find_obj_for_name(name) o.annotated_snapshot.merge name: name if include_obj?(o) end.find_all { |x| x }, contents_type: :hash ) end |