Module: IWonder

Defined in:
lib/i_wonder.rb,
lib/i_wonder/engine.rb,
lib/i_wonder/version.rb,
app/models/i_wonder/event.rb,
app/models/i_wonder/metric.rb,
app/models/i_wonder/report.rb,
lib/i_wonder/configuration.rb,
app/models/i_wonder/ab_test.rb,
app/models/i_wonder/snapshot.rb,
lib/i_wonder/ab_testing/loader.rb,
lib/i_wonder/logging/middleware.rb,
app/models/i_wonder/ab_test_goal.rb,
app/helpers/i_wonder/events_helper.rb,
app/helpers/i_wonder/metrics_helper.rb,
app/helpers/i_wonder/reports_helper.rb,
app/helpers/i_wonder/ab_tests_helper.rb,
app/helpers/i_wonder/dashboard_helper.rb,
app/models/i_wonder/report_membership.rb,
app/helpers/i_wonder/application_helper.rb,
app/models/i_wonder/test_group_membership.rb,
lib/i_wonder/logging/active_record_mixins.rb,
app/controllers/i_wonder/events_controller.rb,
app/controllers/i_wonder/metrics_controller.rb,
app/controllers/i_wonder/reports_controller.rb,
app/controllers/i_wonder/ab_tests_controller.rb,
app/controllers/i_wonder/dashboard_controller.rb,
lib/i_wonder/logging/action_controller_mixins.rb,
lib/i_wonder/ab_testing/action_controller_mixins.rb

Defined Under Namespace

Modules: AbTesting, AbTestsHelper, ApplicationHelper, DashboardHelper, EventsHelper, Logging, MetricsHelper, ReportsHelper Classes: AbTest, AbTestGoal, AbTestsController, Configuration, DashboardController, Engine, Event, EventsController, Metric, MetricsController, Report, ReportMembership, ReportsController, Snapshot, TestGroupMembership

Constant Summary collapse

ENV_KEY =
COOKIE_KEY = "i_wonder"
VERSION =
"0.1.5"
ALWAYS_AVOID_CONTROLLERS =
["i_wonder/dashboard", "i_wonder/reports", "i_wonder/metrics", "i_wonder/events"]

Class Method Summary collapse

Class Method Details

.configurationObject



4
5
6
# File 'lib/i_wonder/configuration.rb', line 4

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



8
9
10
# File 'lib/i_wonder/configuration.rb', line 8

def self.configure
  yield configuration
end