Module: BinData::DSLMixin

Included in:
Primitive, Record, Wrapper
Defined in:
lib/bindata/dsl.rb

Defined Under Namespace

Modules: ClassMethods Classes: ArrayBlockParser, ChoiceBlockParser, DSLParser, StructBlockParser, UnSanitizedField, UnSanitizedFields

Constant Summary collapse

BlockParsers =
{
  :struct => StructBlockParser,
  :array  => ArrayBlockParser,
  :choice => ChoiceBlockParser,
}

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



3
4
5
# File 'lib/bindata/dsl.rb', line 3

def self.included(base) #:nodoc:
  base.extend ClassMethods
end