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