Class File
In: lib/rucola/rucola_support/core_ext/ruby/file.rb
Parent: Object

Methods

to_const  

Public Class methods

Returns the constant version of the file that is referred to.

  File.to_const("/some/path/foo_bar_controller.rb") # => FooBarController

[Validate]