Module: JekyllFilterTemplate
- Defined in:
- jekyll_filter_template.rb
Overview
Template for Jekyll filters.
Class Method Summary collapse
-
.log ⇒ Object
Accessor allows classes in this module to use the logger.
Instance Method Summary collapse
-
#my_filter_template(input_strings) ⇒ String
Describe the filter here.
Class Method Details
.log ⇒ Object
Accessor allows classes in this module to use the logger
12 13 14 |
# File 'jekyll_filter_template.rb', line 12 def self.log @log end |
Instance Method Details
#my_filter_template(input_strings) ⇒ String
Describe the filter here.
21 22 23 24 |
# File 'jekyll_filter_template.rb', line 21 def my_filter_template(input_strings) JekyllFilterTemplate.log.info "input_strings = #{input_strings}, upcased = #{input_strings.upcase}".cyan input_strings.upcase end |