Module: YardSequel::Associations::DatasetMethod

Included in:
ManyToOneHandler, OneToManyHandler
Defined in:
lib/yard-sequel/associations/modules/dataset_method.rb

Overview

Provides methods for creating the dataset method object.

Instance Method Summary collapse

Instance Method Details

#create_dataset_methodYARD::CodeObjects::MethodObject


10
11
12
13
14
# File 'lib/yard-sequel/associations/modules/dataset_method.rb', line 10

def create_dataset_method
  method = create_method_object("#{association_name}_dataset")
  return_tag(method, 'Sequel::Dataset', 'the association\'s dataset.')
  method
end