Class: AbsoluteRenamer::CaseModule

Inherits:
IModule show all
Defined in:
lib/absolute_renamer/external/modules/core/case/module.rb

Class Attribute Summary collapse

Class Method Summary collapse

Methods inherited from IModule

#initialize, #interpret, #process, symbol

Methods inherited from WithChildren

inherited

Methods included from UseConfig

#conf

Constructor Details

This class inherits a constructor from AbsoluteRenamer::IModule

Class Attribute Details

.actionsObject (readonly)

Returns the value of attribute actions.



4
5
6
# File 'lib/absolute_renamer/external/modules/core/case/module.rb', line 4

def actions
  @actions
end

Class Method Details

.camelize(str) ⇒ Object



14
15
16
# File 'lib/absolute_renamer/external/modules/core/case/module.rb', line 14

def camelize(str)
    str.camelize
end

.lower(str) ⇒ Object



22
23
24
# File 'lib/absolute_renamer/external/modules/core/case/module.rb', line 22

def lower(str)
    str.downcase
end

.original(str) ⇒ Object



18
19
20
# File 'lib/absolute_renamer/external/modules/core/case/module.rb', line 18

def original(str)
    str
end

.upper(str) ⇒ Object



26
27
28
# File 'lib/absolute_renamer/external/modules/core/case/module.rb', line 26

def upper(str)
    str.upcase
end