Class: CoreExtensions::ImmutableString

Inherits:
String
  • Object
show all
Defined in:
lib/core_extensions/immutable_string.rb

Instance Method Summary collapse

Instance Method Details

#capitalizeObject



9
10
11
# File 'lib/core_extensions/immutable_string.rb', line 9

def capitalize
  self
end

#downcaseObject



5
6
7
# File 'lib/core_extensions/immutable_string.rb', line 5

def downcase
  self
end

#to_sObject



13
14
15
# File 'lib/core_extensions/immutable_string.rb', line 13

def to_s
  self
end