Sha256: a76139d80518374f6f4301db6b52e7e3af474beb2c1ce372dfb1d446a39301f6

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

require "free_text/version"

module FreeText

  class Engine < ::Rails::Engine
    isolate_namespace FreeText
    initializer 'engine.helper' do |app|
      ActionView::Base.send :include, TextHelper
    end
  end

  mattr_accessor :authentication
  @@authentication = Proc.new {|controller| true}

  # Aloha's plugin enabled
  mattr_accessor :plugins
  @@plugins = ""

  # Aloha configuration
  mattr_accessor :settings
  @@settings = ""

  # Proc wich give a list of items
  mattr_accessor :getRepositories
  @@getRepositories = Proc.new { |c| {} }

  # Proc wich give a list of items
  mattr_accessor :alohaVersion
  @@alohaVersion = "0.10.0"

  def self.setup
    yield self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
free_text-0.0.3 lib/free_text.rb