Sha256: f093576cd2ae1b54fb0b72ad8e6c905b94a3eac9494c8ef6dd29ef5f32f7abe2
Contents?: true
Size: 733 Bytes
Versions: 16
Compression:
Stored size: 733 Bytes
Contents
module Vedeu module Renderers # Provides shared functionality to Vedeu::Renderer classes. # # :nocov: module Options # @!attribute [w] options # @return [Hash<Symbol => void>] attr_writer :options def compress? options[:compression] || false end private # Combines the options provided at instantiation with the # default values. # # @return [Hash<Symbol => void>] def options defaults.merge!(@options) end # The default values for a new instance of this class. # # @return [Hash<Symbol => void>] def defaults {} end end # Options # :nocov: end # Renderers end # Vedeu
Version data entries
16 entries across 16 versions & 1 rubygems