class V8::Portal::Interceptors::PropertyAttributes

Attributes

flags[R]

Public Class Methods

new() click to toggle source
# File lib/v8/portal/interceptors.rb, line 24
def initialize
  @flags = 0
end

Public Instance Methods

dont_delete() click to toggle source
# File lib/v8/portal/interceptors.rb, line 40
def dont_delete
  tap do
    @flags |= V8::C::DontDelete
  end
end
dont_enum() click to toggle source
# File lib/v8/portal/interceptors.rb, line 34
def dont_enum
  tap do
    @flags |= V8::C::DontEnum
  end
end
read_only() click to toggle source
# File lib/v8/portal/interceptors.rb, line 28
def read_only
  tap do
    @flags |= V8::C::ReadOnly
  end
end