Object
Handles the :big_and_little endian option. This option creates two subclasses, each handling :big or :little endian.
# File lib/bindata/dsl.rb, line 249 def ancestor_fields if subclass_of_big_and_little_endian? pparent = @the_class.superclass.superclass ancestor_with_endian = class_with_endian(pparent, @the_class.endian) obj_attribute(ancestor_with_endian, :fields) else nil end end
Generated with the Darkfish Rdoc Generator 2.