Class: Bwrap::Config::Features

Inherits:
Object
  • Object
show all
Defined in:
lib/bwrap/config/features.rb

Overview

Methods to enable or disable feature sets to control various aspects of sandboxing.

Defined Under Namespace

Classes: Base, Bash, Nscd, Ruby

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mimeObject

Instance of Args::Bind::Mime.



13
14
15
# File 'lib/bwrap/config/features.rb', line 13

def mime
  @mime
end

Instance Method Details

#bashBash

Returns Instance of feature class for Bash.

Returns:

  • (Bash)

    Instance of feature class for Bash



30
31
32
# File 'lib/bwrap/config/features.rb', line 30

def bash
  @bash ||= Bash.new self
end

#nscdNscd

Returns Instance of feature class for nscd.

Returns:

  • (Nscd)

    Instance of feature class for nscd



35
36
37
# File 'lib/bwrap/config/features.rb', line 35

def nscd
  @nscd ||= Nscd.new self
end

#rubyRuby

Returns Instance of feature class for Ruby.

Returns:

  • (Ruby)

    Instance of feature class for Ruby



40
41
42
# File 'lib/bwrap/config/features.rb', line 40

def ruby
  @ruby ||= Ruby.new self
end