Sha256: 1f3de7ad14baa06b30028e6a0b1bbd7ebf333a067cb0e2149fcf6f82f88c8f27

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

require 'avm/self'
require 'eac_ruby_utils/core_ext'

class Object
  class << self
    def avm_fs_cache
      ::Avm::Self.application.fs_cache.child(name.variableize)
    end
  end

  def avm_fs_cache
    self.class.avm_fs_cache.child(avm_fs_cache_object_id)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
avm-tools-0.107.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.106.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.105.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.104.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.103.1 lib/avm/patches/object/fs_cache.rb
avm-tools-0.103.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.102.2 lib/avm/patches/object/fs_cache.rb
avm-tools-0.102.1 lib/avm/patches/object/fs_cache.rb
avm-tools-0.102.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.101.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.100.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.99.1 lib/avm/patches/object/fs_cache.rb
avm-tools-0.99.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.98.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.97.0 lib/avm/patches/object/fs_cache.rb
avm-tools-0.96.0 lib/avm/patches/object/fs_cache.rb