Update docs
This commit is contained in:
@@ -23,8 +23,8 @@
|
|||||||
/// let name: String
|
/// let name: String
|
||||||
/// let wrapped: MustacheLambda
|
/// let wrapped: MustacheLambda
|
||||||
/// }
|
/// }
|
||||||
/// let willy = Object(name: "Willy", wrapped: .init({ object, template in
|
/// let willy = Object(name: "Willy", wrapped: .init({ string in
|
||||||
/// return "<b>\(template.render(object))</b>"
|
/// return "<b>\(string)</b>"
|
||||||
/// }))
|
/// }))
|
||||||
/// let mustache = "{{#wrapped}}{{name}} is awesome.{{/wrapped}}"
|
/// let mustache = "{{#wrapped}}{{name}} is awesome.{{/wrapped}}"
|
||||||
/// let template = try MustacheTemplate(string: mustache)
|
/// let template = try MustacheTemplate(string: mustache)
|
||||||
|
|||||||
Reference in New Issue
Block a user