Sha256: 270fa4b96708a4f4e9b7d03e5a59d6f13a18df9fa834e066866a12081b18ab49

Contents?: true

Size: 217 Bytes

Versions: 17

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true
module NanoRpc::ApplicationHelper
  private

  def inspect_prefix
    "#<#{self.class}:#{obj_id}"
  end

  def obj_id
    format('0x00%<object_id>x', object_id: object_id << 1)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nano_rpc-0.26.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.25.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.24.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.23.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.22.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.21.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.20.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.19.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.18.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.17.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.16.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.15.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.14.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.13.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.12.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.11.0 lib/nano_rpc/helpers/application_helper.rb
nano_rpc-0.10.0 lib/nano_rpc/helpers/application_helper.rb