Method: Thrift::Union#get_value

Defined in:
lib/thrift/union.rb

#get_valueObject

get the current value of this union, regardless of what the set field is. generally, you should only use this method when you don’t know in advance what field to expect.



135
136
137
# File 'lib/thrift/union.rb', line 135

def get_value
  @value
end