class Origami::LiteralString
Public Class Methods
Public Instance Methods
to_hex()
click to toggle source
Converts self to HexaString
# File lib/origami/string.rb, line 334 def to_hex HexaString.new(self.value) end
value()
click to toggle source
Returns a standard String
representation.
# File lib/origami/string.rb, line 341 def value self.decrypt! if self.is_a?(Encryption::EncryptedString) and not @decrypted to_str end