class MovieMasher::LayerModule
base class for a theme or transition layer LayerTheme
, LayerTransition
Public Instance Methods
layer_scope(scope)
click to toggle source
Calls superclass method
MovieMasher::Layer#layer_scope
# File lib/graphs/layers.rb, line 30 def layer_scope(scope) scope[:mm_input_dimensions] = scope[:mm_dimensions] raise('no input dimensions') unless scope[:mm_input_dimensions] w, h = scope[:mm_input_dimensions].split('x') scope[:mm_input_width] = w scope[:mm_input_height] = h super end