Module: Card::Set::All::ProcessLayout::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod031-layout/all/process_layout.rb

Instance Method Summary collapse

Instance Method Details

#explicit_modal_wrapper?(view) ⇒ Boolean

public for testing

Returns:

  • (Boolean)


17
18
19
20
21
# File 'platypus/tmp/set/gem-defaults/mod031-layout/all/process_layout.rb', line 17

def explicit_modal_wrapper? view
  return unless (wrap_view = view_setting :wrap, view)

  (wrapper_names(wrap_view) & %i[modal board]).any?
end

#layout_for_view(_view) ⇒ Object

for override



12
13
14
# File 'platypus/tmp/set/gem-defaults/mod031-layout/all/process_layout.rb', line 12

def layout_for_view _view
  nil
end