Class: Bwrap::Args::Features

Inherits:
Hash
  • Object
show all
Includes:
Output
Defined in:
lib/bwrap/args/features.rb

Overview

Feature parameter construction.

See Also:

Defined Under Namespace

Classes: BashBinds, BindsBase, NscdBinds, RubyBinds

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Output

debug?, debug_output, error_output, handle_output_options, info_output, quiet?, trace?, trace_output, verb_output, verbose?, warn_output

Instance Attribute Details

#args=(value) ⇒ Object (writeonly)

‘Array` of parameters passed to bwrap.



54
55
56
# File 'lib/bwrap/args/features.rb', line 54

def args=(value)
  @args = value
end

#config=(value) ⇒ Object (writeonly)

Instance of Config.



57
58
59
# File 'lib/bwrap/args/features.rb', line 57

def config=(value)
  @config = value
end

Instance Method Details

#feature_bindsObject

Resolves binds required by different features.

Currently implemented feature sets:

  • ruby



63
64
65
66
67
# File 'lib/bwrap/args/features.rb', line 63

def feature_binds
  bash_binds
  nscd_binds
  ruby_binds
end