Method: VV::FileMethods.check_file_methods
- Defined in:
- lib/vv/file_methods.rb
.check_file_methods ⇒ Object
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_" = \ "File defines method already, cowardly exiting." fail if File.respond_to? method end end |