Sha256: 1765d264af15b95e49a8a0f1a37136754941a57b39b1a2f598d80bc255bbc470
Contents?: true
Size: 827 Bytes
Versions: 10
Compression:
Stored size: 827 Bytes
Contents
module Mihari module Mixins module Rule def load_erb_yaml: (String yaml) -> Hash # # Load rule into hash # # @param [String] path_or_id # # @return [Mihari::Structs::Rule::Rule] # def load_rule: (String path_or_id) -> Mihari::Structs::Rule::Rule # # Returns a template for rule # # @return [String] A template for rule # def rule_template: () -> String def validate_rule!: (Mihari::Structs::Rule::Rule rule) -> nil # # Create (blank) rule file # # @param [String] filename # @param [Dry::Files] files # @param [String] template # # @return [nil] # def initialize_rule_yaml: (String filename, ?untyped files, ?template: String template) -> nil end end end
Version data entries
10 entries across 10 versions & 1 rubygems