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



163
164
165
# File 'lib/bindata/base_primitive.rb', line 163

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