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



156
157
158
# File 'lib/bindata/base_primitive.rb', line 156

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

#assign(val) ⇒ Object



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

def assign(val)
  # Ignored
end