Class: BinData::Choice

Inherits:
Object
  • Object
show all
Defined in:
lib/binproxy/proxy_message.rb,
lib/binproxy/bindata.rb

Overview

XXX should we pass along which choice, include what the options were?

Instance Method Summary collapse

Instance Method Details

#annotated_snapshotObject



53
54
55
# File 'lib/binproxy/proxy_message.rb', line 53

def annotated_snapshot
  super.merge contents: [ current_choice.annotated_snapshot ], contents_type: :hash
end

#summaryObject



15
16
17
# File 'lib/binproxy/bindata.rb', line 15

def summary
  current_choice.summary
end