Module: BinData::BasePrimitive::InitialValuePlugin

Defined in:
lib/bindata/base_primitive.rb

Overview

Logic for the :initial_value parameter

Instance Method Summary collapse

Instance Method Details

#_valueObject



158
159
160
# File 'lib/bindata/base_primitive.rb', line 158

def _value
  @value != nil ? @value : eval_parameter(:initial_value)
end