Sha256: 698d250d77b5466c8df7e624aa767ff050606b37649feed4db3b8de434e7bb90

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require 'action_view'

module TopHat
  extend self

  def current
    return Thread.current[:tophat] if Thread.current[:tophat]

    reset
  end

  def reset
    Thread.current[:tophat] = {}
  end

end

require 'tophat/title'
require 'tophat/meta'
require 'tophat/stylesheet'
require 'tophat/robots'
require 'tophat/opengraph'




Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tophat-1.5.0 lib/tophat.rb
tophat-1.4.0 lib/tophat.rb