Module: RoSupport::StringHandler

Includes:
Common
Defined in:
lib/ro_support/string_handler.rb,
lib/ro_support/string_handler.rb,
lib/ro_support/string_handler/common.rb

Defined Under Namespace

Modules: Common

Class Method Summary collapse

Methods included from Common

#blank?, #camelize, #collect, #uncamelize

Class Method Details

.get_dirname_same_with(file) ⇒ Object



3
4
5
# File 'lib/ro_support/string_handler.rb', line 3

def self.get_dirname_same_with(file)
  file.gsub /\.rb$/, ''
end