Sha256: 7a0728a5955f7a9494edcd2b1fb7e46738b190ad5174121b1251fac213c4df8a
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 Bytes
Contents
require 'rhet-butler/yaml-type' module RhetButler class SlideContents < YamlType def self.required_config [] end def self.optional_config [] end def setup_defaults end def positional_options [] end def normalize_config(coder) case coder.type when :seq Hash[positional_options.zip(coder.seq)] when :map coder.map else Hash[positional_options.zip([coder.scalar])] end end def configure end def html_class nil end end end require 'rhet-butler/slide-contents/embed'
Version data entries
4 entries across 4 versions & 1 rubygems