Sha256: 3c05dd025b14aa431ae23f7c6da3e7200e4b402a5d80061ff7a504cfa4c16ecd
Contents?: true
Size: 701 Bytes
Versions: 14
Compression:
Stored size: 701 Bytes
Contents
module AbsoluteRenamer class CaseModule < AbsoluteRenamer::IModule class << self attr_reader :actions def actions @actions ||= {'*' => :camelize, '&' => :upper, '%' => :lower, '$' => :original } end def camelize(str) str.camelize end def original(str) str end def lower(str) str.downcase end def upper(str) str.upcase end end end end
Version data entries
14 entries across 14 versions & 2 rubygems