Class: Pakyow::Support::SafeString

Inherits:
String
  • Object
show all
Defined in:
lib/pakyow/support/safe_string.rb

Instance Method Summary collapse

Constructor Details

#initializeSafeString

Returns a new instance of SafeString.



8
9
10
# File 'lib/pakyow/support/safe_string.rb', line 8

def initialize(*)
  super; freeze
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/pakyow/support/safe_string.rb', line 12

def to_s
  self
end