Sha256: cbc10c9d57d7a665013447541c82526e4b62add82d83f47f7f8fbb88a4567c4e
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
module Hallon # All objects in Hallon are mere representations of Spotify objects. # Hallon::Base covers basic functionality shared by all of these. class Base # Underlying FFI pointer. # # @return [FFI::Pointer] attr_reader :pointer # True if both objects represent the *same* object. # # @param [Object] other # @return [Boolean] def ==(other) pointer == other.pointer rescue NoMethodError super end # The current Session instance. # # @return [Session] def session Session.instance end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hallon-0.8.0 | lib/hallon/base.rb |