Module: HelpAnywhere

Defined in:
lib/help-anywhere.rb,
app/models/help_anywhere.rb,
lib/help-anywhere/engine.rb,
lib/help-anywhere/version.rb,
lib/help-anywhere/configuration.rb

Defined Under Namespace

Classes: BaseController, Configuration, Engine, HelpAnywhereController, Item, Page, PagesController, Resource, ResourcesController, Routes

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.configObject



8
9
10
# File 'lib/help-anywhere/configuration.rb', line 8

def self.config
  @@configuration ||= HelpAnywhere::Configuration.new
end

.configure(configuration = HelpAnywhere::Configuration.new) {|configuration| ... } ⇒ Object

Yields:

  • (configuration)


3
4
5
6
# File 'lib/help-anywhere/configuration.rb', line 3

def self.configure(configuration=HelpAnywhere::Configuration.new)
  yield configuration if block_given?
  @@configuration = configuration
end

.table_name_prefixObject

Table namespace



6
7
8
# File 'lib/help-anywhere.rb', line 6

def self.table_name_prefix
  'help_anywhere_'
end