module EPUB::Publication::FixedLayout::PackageMixin

Public Instance Methods

using_fixed_layout() click to toggle source

@return [true, false]

# File lib/epub/publication/fixed_layout.rb, line 66
def using_fixed_layout
  prefix.has_key? PREFIX_KEY and
    prefix[PREFIX_KEY] == PREFIX_VALUE
end
Also aliased as: using_fixed_layout?
using_fixed_layout=(using_fixed_layout) click to toggle source

@param using_fixed_layout [true, false]

# File lib/epub/publication/fixed_layout.rb, line 73
def using_fixed_layout=(using_fixed_layout)
  if using_fixed_layout
    prefix[PREFIX_KEY] = PREFIX_VALUE
  else
    prefix.delete PREFIX_KEY
  end
end
using_fixed_layout?()
Alias for: using_fixed_layout