Sha256: c7dc560ec0aeb80de459dff43714c8c596c10ae185d8ad2c349cd42c36c51306

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

module V8
  class Context
    def get(key)
      prototype[key]
    end
    alias_method :[], :get

    def set(key, value)
      prototype[key] = value
    end
    alias_method :[]=, :set
  end # Context
end # V8

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mustang-0.1.1 lib/v8/context.rb
mustang-0.1.0 lib/v8/context.rb