Module: Excursion
- Defined in:
- lib/excursion.rb,
lib/excursion/cors.rb,
lib/excursion/pool.rb,
lib/excursion/engine.rb,
lib/excursion/railtie.rb,
lib/excursion/version.rb,
lib/excursion/builders.rb,
lib/excursion/pool/dsl.rb,
lib/excursion/exceptions.rb,
lib/excursion/configuration.rb,
lib/excursion/datastores/file.rb,
lib/excursion/datastores/test.rb,
lib/excursion/exceptions/pool.rb,
lib/excursion/pool/application.rb,
lib/excursion/datastores/memcache.rb,
lib/excursion/exceptions/memcache.rb,
lib/excursion/builders/url_builder.rb,
lib/excursion/datastores/datastore.rb,
lib/excursion/exceptions/datastores.rb,
lib/excursion/pool/dummy_application.rb,
lib/excursion/datastores/active_record.rb,
lib/excursion/exceptions/active_record.rb,
app/helpers/excursion/javascript_helper.rb,
lib/excursion/builders/application_builder.rb,
lib/generators/excursion/active_record_generator.rb,
lib/excursion/datastores/active_record_with_memcache.rb
Defined Under Namespace
Modules: Builders, CORS, Datastores, JavascriptHelper, Pool
Classes: ActiveRecordError, ActiveRecordGenerator, Configuration, DatastoreConfigurationError, DatastoreError, Engine, Error, InvalidDatastoreError, MemcacheConfigurationError, MemcacheError, MemcacheServerError, NoDatastoreError, NotInPool, Railtie, RoutePool, TableDoesNotExist
Constant Summary
collapse
- VERSION =
'0.2.1'
- @@configuration =
Excursion::Configuration.new
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
11
12
13
|
# File 'lib/excursion.rb', line 11
def self.configuration
@@configuration
end
|
7
8
9
|
# File 'lib/excursion.rb', line 7
def self.configure(&block)
@@configuration.configure &block
end
|
.rails3? ⇒ Boolean
15
16
17
|
# File 'lib/excursion.rb', line 15
def self.rails3?
Rails::VERSION::MAJOR == 3
end
|
.rails4? ⇒ Boolean
19
20
21
|
# File 'lib/excursion.rb', line 19
def self.rails4?
Rails::VERSION::MAJOR == 4
end
|
.url_helpers ⇒ Object
Provides quick global access to url builders with using the StaticBuilder
28
29
30
|
# File 'lib/excursion/builders.rb', line 28
def self.url_helpers
@url_helpers ||= Builders::StaticBuilder.new
end
|