Sha256: 9f4f877c61e115f3933a9d5739b84c5a5fea8c2547f976901f48892af4626c70

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 KB

Contents

o:$YARD::CodeObjects::MethodObject:@visibility:private:@source_type:	ruby:@scope:
instance:@source"adef check_method_existance!
  return false if defined?(Rake) && Rake.application.top_level_tasks.include?("db:migrate")

  nonexist_groups = self.groups.select do |group|
    !self.methods.include?(group)
  end

  nonexist_payload_columns = self.payload_columns.select do |col|
    !self.instance_methods.include?(col) and !self.column_names.include?(col)
  end

  raise "Doesn't find group methods in #{self.name}:#{nonexist_groups.inspect}" if nonexist_groups.present?
  raise "Doesn't find payload column methods in #{self.name}:#{nonexist_payload_columns.inspect}" if nonexist_payload_columns.present?
end:@explicitT:
@tags[:@current_file_has_commentsT:
@linei,:@signature" def check_method_existance!:@files[["-lib/mail_engine/acts_as_mail_receiver.rbi,:
@name:check_method_existance!:
@path"IMailEngine::ActsAsMailReceiver::ClassMethods#check_method_existance!:@docstringIC:YARD::Docstring"GCheck if the methods is existed in the User model.
If raise error.:	@all["7Check if the methods is existed in the User model."If raise error.:@line_rangeo:
Range:endi+:
begini*:	exclF;[:@ref_tags[:
@summary0:@objectu:YARD::StubProxyIMailEngine::ActsAsMailReceiver::ClassMethods#check_method_existance!:@namespaceu;!1MailEngine::ActsAsMailReceiver::ClassMethods:
@dynamicT:@parameters[:@docstring_extra0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mail_engine-0.1.6 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
mail_engine-0.1.5 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
mail_engine-0.1.4 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
mail_engine-0.1.3 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
mail_engine-0.1.2 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
mail_engine-0.1.1 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat