A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://rubydoc.info/github/cryptosphere/rbnacl/RbNaCl/Serializable below:

Serializable – Documentation for cryptosphere/rbnacl (main) – RubyDoc.info

Module: RbNaCl::Serializable Overview

Serialization features shared across all "key-like" classes

Instance Method Summary collapse Instance Method Details #inspect ⇒ String
18
19
20
# File 'lib/rbnacl/serializable.rb', line 18

def inspect
  "#<#{self.class}:#{Util.bin2hex(to_bytes)[0, 8]}>"
end
#to_s ⇒ Object
7
8
9
# File 'lib/rbnacl/serializable.rb', line 7

def to_s
  to_bytes
end
#to_str ⇒ Object
11
12
13
# File 'lib/rbnacl/serializable.rb', line 11

def to_str
  to_bytes
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4