module YardSequel::Associations::DatasetMethod

Provides methods for creating the dataset method object. @author Kai Moschcau

Public Instance Methods

create_dataset_method() click to toggle source

@return [YARD::CodeObjects::MethodObject] the dataset method

object.
# 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