Module: BinData::BasePrimitive::ValuePlugin

Defined in:
lib/bindata/base_primitive.rb

Overview

Logic for the :value parameter

Instance Method Summary collapse

Instance Method Details

#_valueObject



151
152
153
# File 'lib/bindata/base_primitive.rb', line 151

def _value
  reading? ? @value : eval_parameter(:value)
end

#assign(val) ⇒ Object



147
148
149
# File 'lib/bindata/base_primitive.rb', line 147

def assign(val)
  # Ignored
end