exjprop v0.1.0 Exjprop.Properties.Function

Summary

Functions

Get a property, raising exceptions on error

Load the properties from the given function

Determine if the properties have been loaded

Create new function properties

Get a map of properties

Functions

get_property(prop_fun, property)

Get a property

get_property!(prop_fun, property)

Get a property, raising exceptions on error

load(prop_fun)

Load the properties from the given function

loaded?(prop_fun)

Determine if the properties have been loaded

new(fun)

Create new function properties

The passed in function must take no arguments and return a Stream

to_map(prop_fun)

Get a map of properties