Module: Card::Set::Right::AssetOutput::Format

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod018-assets/right/asset_output.rb

Instance Method Summary collapse

Instance Method Details

#outputterObject



27
28
29
# File 'platypus/tmp/set/gem-defaults/mod018-assets/right/asset_output.rb', line 27

def outputter
  card.left
end

#update_asset_output_live?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'platypus/tmp/set/gem-defaults/mod018-assets/right/asset_output.rb', line 38

def update_asset_output_live?
  outputter.is_a?(Abstract::AssetOutputter) && !outputter.locked?
end

#view: not_foundObject



31
32
33
34
35
36
# File 'platypus/tmp/set/gem-defaults/mod018-assets/right/asset_output.rb', line 31

view :not_found do
  return super() unless update_asset_output_live?

  root.error_status = 302
  outputter.update_asset_output_live
end