class Deribit::ImmutableHeaderKey

Attributes

key[R]

Public Class Methods

new(key) click to toggle source
# File lib/deribit/immutable_header_key.rb, line 4
def initialize(key)
  @key = key
end
to_s() click to toggle source
# File lib/deribit/immutable_header_key.rb, line 29
def self.to_s
  key
end

Public Instance Methods

capitalize() click to toggle source
# File lib/deribit/immutable_header_key.rb, line 12
def capitalize
  self
end
downcase() click to toggle source
# File lib/deribit/immutable_header_key.rb, line 8
def downcase
  self
end
eql?(other) click to toggle source
# File lib/deribit/immutable_header_key.rb, line 24
def eql?(other)
  key.eql? other.key.eql?
end
hash() click to toggle source
# File lib/deribit/immutable_header_key.rb, line 20
def hash
  key.hash
end
split(*) click to toggle source
# File lib/deribit/immutable_header_key.rb, line 16
def split(*)
  [self]
end
to_s() click to toggle source
# File lib/deribit/immutable_header_key.rb, line 28
def to_s
  def self.to_s
    key
  end
  self
end