Module: ActiveVlc

Defined in:
lib/activevlc/dsl.rb,
lib/activevlc.rb,
lib/activevlc/cli.rb,
lib/activevlc/stage.rb,
lib/activevlc/libvlc.rb,
lib/activevlc/runner.rb,
lib/activevlc/version.rb,
lib/activevlc/pipeline.rb,
lib/activevlc/pipeline_dump.rb,
lib/activevlc/syntactic_sugar.rb,
lib/activevlc/parameters/parameter.rb,
lib/activevlc/parameters/parametric.rb,
lib/activevlc/parameters/parameter_set.rb

Overview

This concern handle Stage’s named parameter storage and assignment logic using a visitor pattern

Defined Under Namespace

Modules: CLI, DSL, LibVlc, Parametric, PipelineDump, Stage Classes: Cli, Parameter, ParameterSet, Pipeline, Runner

Constant Summary collapse

CODENAME =
"Named Parameters"
VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

.parse(path) ⇒ Object



8
9
10
# File 'lib/activevlc/syntactic_sugar.rb', line 8

def self.parse(path)
  ActiveVlc::Pipeline.parse(path)
end

.pipe(inputs = nil, &block) ⇒ Object



2
3
4
# File 'lib/activevlc/syntactic_sugar.rb', line 2

def self.pipe(inputs = nil, &block)
  ActiveVlc::Pipeline.new(inputs, &block)
end

.pipe_for(inputs = nil, &block) ⇒ Object



5
6
7
# File 'lib/activevlc/syntactic_sugar.rb', line 5

def self.pipe_for(inputs = nil, &block)
  self.pipe(inputs, &block)
end