Module: ActsAsBookable::Bookable::Core

Defined in:
lib/acts_as_bookable/bookable/core.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/acts_as_bookable/bookable/core.rb', line 3

def self.included(base)
  base.extend ActsAsBookable::Bookable::Core::ClassMethods
  base.send :include, ActsAsBookable::Bookable::Core::InstanceMethods

  base.initialize_acts_as_bookable_core
end