Sha256: 5398ca0dc8e2bd778ab5efaa3311392f5fe90d6fe7c9a474528cbea745024b96
Contents?: true
Size: 930 Bytes
Versions: 1
Compression:
Stored size: 930 Bytes
Contents
class Shortcode::Configuration # Sets the template parser to use, supports :erb, :haml, and :slim, default is :haml attr_accessor :template_parser # Sets the path to search for template files attr_accessor :template_path # Allows templates to be set from strings rather than read from the filesystem attr_accessor :templates # Assigns helper modules to be included in templates attr_accessor :helpers # Set the supported block_tags attr_accessor :block_tags # Set the supported self_closing_tags attr_accessor :self_closing_tags # Set the quotation sign used for attribute values. Defaults to double quote (") attr_accessor :quotes def initialize @template_parser = :erb @template_path = "app/views/shortcode_templates" @templates = nil @helpers = [] @block_tags = [] @self_closing_tags = [] @quotes = '"' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shortcode-0.4.3 | lib/shortcode/configuration.rb |