Sha256: bbb359335cc87a5144e8d8291eeeed7df5c60a72c260ee567e0407cc1b479dc1

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

require "active_record"
require "active_support/core_ext"
require "acts_as_content_highlightable/version"
require "acts_as_content_highlightable/html_node_parser"
require "acts_as_content_highlightable/model"
require "acts_as_content_highlightable/engine"

module ActsAsContentHighlightable

  mattr_accessor :unique_html_node_identifier_key
  self.unique_html_node_identifier_key = "chnode"

  mattr_accessor :mount
  self.mount = true

  ActiveSupport.on_load(:active_record) do
    extend ActsAsContentHighlightable::Model
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_content_highlightable-0.1.0 lib/acts_as_content_highlightable.rb