posexional v0.4.0 PosexionalRow

macros for defining row modules

Summary

Macros

add use Posexional on top of an elixir module to use macros to define fields

add an empty field

add a field with a fixed value

sets the row matcher

add all fields from another row module

sets the row name, if no name is provided the module name will be used

add a field with a progressive_number value

sets the row separator

Macros

__using__(opts)

add use Posexional on top of an elixir module to use macros to define fields

empty(size, opts \\ [])

add an empty field

fixed_value(v)

add a field with a fixed value

guesser(func)

sets the row matcher

import_fields_from(module_name)

add all fields from another row module

name(row_name)

sets the row name, if no name is provided the module name will be used

progressive_number(field_name, size, opts \\ [])

add a field with a progressive_number value

separator(row_separator)

sets the row separator

value(field_name, size, opts \\ [])

add a value field