Module: Blackbeard::ConfigurationMethods
- Included in:
- CohortData, CohortMetric, Context, GroupMetric, MetricData::Base, MetricData::UidGenerator, Storable
- Defined in:
- lib/blackbeard/configuration_methods.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 |
# File 'lib/blackbeard/configuration_methods.rb', line 3 def self.included(base) base.extend(self) end |
Instance Method Details
#config ⇒ Object
7 8 9 |
# File 'lib/blackbeard/configuration_methods.rb', line 7 def config Blackbeard.config end |
#db ⇒ Object
11 12 13 |
# File 'lib/blackbeard/configuration_methods.rb', line 11 def db config.db end |
#guest_method ⇒ Object
19 20 21 |
# File 'lib/blackbeard/configuration_methods.rb', line 19 def guest_method config.guest_method end |
#tz ⇒ Object
15 16 17 |
# File 'lib/blackbeard/configuration_methods.rb', line 15 def tz config.tz end |