Class: BinData::SingleValue

Inherits:
Primitive show all
Defined in:
lib/bindata/deprecated.rb

Instance Attribute Summary

Attributes inherited from Base

#parent

Class Method Summary collapse

Methods inherited from Primitive

#debug_name_of, endian, #initialize, method_missing, #method_missing, #offset_of, sanitize_parameters!

Methods inherited from BasePrimitive

#clear, #clear?, #eql?, #hash, #initialize, #method_missing, #respond_to?, #value, #value=

Methods inherited from Base

#==, accepted_parameters, #assign, #clear, #clear?, #debug_name, #debug_name_of, default_parameters, #eval_parameter, #get_parameter, #has_parameter?, #initialize, #inspect, mandatory_parameters, mutually_exclusive_parameters, #num_bytes, #offset, #offset_of, optional_parameters, #read, read, sanitize_parameters!, #single_value?, #snapshot, #to_binary_s, #to_s, #write

Constructor Details

This class inherits a constructor from BinData::Primitive

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BinData::Primitive

Class Method Details

.inherited(subclass) ⇒ Object

:nodoc:



11
12
13
14
# File 'lib/bindata/deprecated.rb', line 11

def inherited(subclass) #:nodoc:
  warn "BinData::SingleValue is deprecated.  Replacing with BinData::Primitive"
  super
end