Class: FFmpeg::FilterGraph::Graph
- Inherits:
-
Object
- Object
- FFmpeg::FilterGraph::Graph
- Defined in:
- lib/ffmpeg/filter_graph/graph.rb
Instance Attribute Summary collapse
-
#chains ⇒ Object
Returns the value of attribute chains.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
Instance Method Summary collapse
-
#initialize(chains: [], outputs: []) ⇒ Graph
constructor
A new instance of Graph.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#chains ⇒ Object
Returns the value of attribute chains.
3 4 5 |
# File 'lib/ffmpeg/filter_graph/graph.rb', line 3 def chains @chains end |
#outputs ⇒ Object
Returns the value of attribute outputs.
3 4 5 |
# File 'lib/ffmpeg/filter_graph/graph.rb', line 3 def outputs @outputs end |
Instance Method Details
#to_s ⇒ Object
10 11 12 13 14 15 |
# File 'lib/ffmpeg/filter_graph/graph.rb', line 10 def to_s [ chains.map(&:to_s).join('; '), outputs.map(&:to_s).join(''), ].join(' ').strip end |