Make Template and Library final class

This commit is contained in:
Adam Fowler
2021-03-15 18:37:54 +00:00
parent 66edcba185
commit b1b65525e8
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import Logging
/// ```
/// {{#sequence}}{{>entry}}{{/sequence}}
/// ```
public class HBMustacheLibrary {
public final class HBMustacheLibrary {
/// Initialize empty library
public init() {
templates = [:]

View File

@@ -1,5 +1,5 @@
/// Class holding Mustache template
public class HBMustacheTemplate {
public final class HBMustacheTemplate {
/// Initialize template
/// - Parameter string: Template text
/// - Throws: HBMustacheTemplate.Error