Module: Googletastic::Mixins::Parsing
- Included in:
- Base
- Defined in:
- lib/googletastic/mixins/parsing.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/googletastic/mixins/parsing.rb', line 3 def self.included(base) base.extend(ClassMethods) base.class_eval do include InstanceMethods # if you want to hook into these processes easily, # without having to override/copy-paste/alias-method # they're placed at convenient locations # define them as a block # base.define_callbacks :before_unmarshall, :during_unmarshall, :after_unmarshall end end |