Sha256: 72fcf2279dd335f8a1dcff977231fb42ac676b34eb5865542344617a8d3e3a41

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 Bytes

Contents

class Shortcode::Configuration
  # Sets the template parser to use, supports :erb and :haml, default is :haml
  attr_accessor :template_parser
  @template_parser = :haml

  # Sets the template parser to use, supports :erb and :haml, default is :haml
  attr_accessor :template_path
  @template_path = "app/views/shortcode_templates"

  # Set the supported block_tags
  attr_accessor :block_tags
  @block_tags = [:quote]

  # Set the supported self_closing_tags
  attr_accessor :self_closing_tags
  @self_closing_tags = [:youtube]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shortcode-0.1.1 lib/shortcode/configuration.rb
shortcode-0.1.0 lib/shortcode/configuration.rb
shortcode-0.0.4 lib/shortcode/configuration.rb
shortcode-0.0.3 lib/shortcode/configuration.rb