Sha256: a830eac9aa08a62fa9722e8a1534fe123bc6fe72759b339de1187ee519f77c8d

Contents?: true

Size: 359 Bytes

Versions: 7

Compression:

Stored size: 359 Bytes

Contents

require "emotions/version"
require "emotions/emotion"
require "emotions/emotive"
require "emotions/emotional"

module Emotions
  def self.configure
    @configuration = OpenStruct.new
    yield(@configuration)
  end

  def self.emotions
    @configuration.emotions ||= []
  end
end

require 'emotions/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
emotions-0.1.6 lib/emotions.rb
emotions-0.1.5 lib/emotions.rb
emotions-0.1.4 lib/emotions.rb
emotions-0.1.3 lib/emotions.rb
emotions-0.1.2 lib/emotions.rb
emotions-0.1.1 lib/emotions.rb
emotions-0.1 lib/emotions.rb