Module: Kiva::DynamicInitializer

Included in:
Borrower, Comment, Country, Image, JournalEntry, Lender, LendingAction, Loan, Location, Partner, Payment, Team, Terms, Video
Defined in:
lib/ruby-kiva/dynamic_initializer.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



29
30
31
32
# File 'lib/ruby-kiva/dynamic_initializer.rb', line 29

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end