Module: Searchlogic::Search::ToYaml

Included in:
Searchlogic::Search
Defined in:
lib/searchlogic/search/to_yaml.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(klass)



4
5
6
7
8
9
# File 'lib/searchlogic/search/to_yaml.rb', line 4

def self.included(klass)
  klass.class_eval do
    yaml_as "tag:ruby.yaml.org,2002:class"
    include InstanceMethods
  end
end