Method: VV::FileMethods.check_file_methods

Defined in:
lib/vv/file_methods.rb

.check_file_methodsObject



4
5
6
7
8
9
10
11
12
# File 'lib/vv/file_methods.rb', line 4

def self.check_file_methods
  ClassMethods.public_instance_methods.each do |method|
    next if method.to_s.starts_with? "vv_"

    message = \
    "File defines method already, cowardly exiting."
    fail message if File.respond_to? method
  end
end