Make Template and Library final class
This commit is contained in:
@@ -6,7 +6,7 @@ import Logging
|
||||
/// ```
|
||||
/// {{#sequence}}{{>entry}}{{/sequence}}
|
||||
/// ```
|
||||
public class HBMustacheLibrary {
|
||||
public final class HBMustacheLibrary {
|
||||
/// Initialize empty library
|
||||
public init() {
|
||||
templates = [:]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/// Class holding Mustache template
|
||||
public class HBMustacheTemplate {
|
||||
public final class HBMustacheTemplate {
|
||||
/// Initialize template
|
||||
/// - Parameter string: Template text
|
||||
/// - Throws: HBMustacheTemplate.Error
|
||||
|
||||
Reference in New Issue
Block a user