Sha256: 09de86ae575cc68e142363dcb4cbd2b8d1ff448acaea3dac9ae302c09b3fd219

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsT:
@linei,:@signature" def check_method_existance!:@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:
@tags[:@docstringIC:YARD::Docstring"GCheck if the methods is existed in the User model.
If raise error.:@ref_tags[;[:@objectu:YARD::StubProxyIMailEngine::ActsAsMailReceiver::ClassMethods#check_method_existance!:
@summary0:	@all["7Check if the methods is existed in the User model."If raise error.:@line_rangeo:
Range:endi+:
begini*:	exclF:@namespaceu;1MailEngine::ActsAsMailReceiver::ClassMethods:@files[["-lib/mail_engine/acts_as_mail_receiver.rbi,:
@name:check_method_existance!:
@dynamicT:
@path"IMailEngine::ActsAsMailReceiver::ClassMethods#check_method_existance!:@parameters[:@docstring_extra0:@visibility:private:@source_type:	ruby:@explicitT

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_engine-0.1.0 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat