posexional v0.5.4 PosexionalRow

macros for defining row modules

Link to this section Summary

Functions

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

Link to this section Functions

Link to this macro

__using__(opts)

(macro)

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

Link to this macro

empty(size, opts \\ [])

(macro)

add an empty field

Link to this macro

fixed_value(v)

(macro)

add a field with a fixed value

Link to this macro

guesser(func)

(macro)

sets the row matcher

Link to this macro

import_fields_from(module_name)

(macro)

add all fields from another row module

Link to this macro

name(row_name)

(macro)

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

Link to this macro

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

(macro)

add a field with a progressive_number value

Link to this macro

separator(row_separator)

(macro)

sets the row separator

Link to this macro

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

(macro)

add a value field