Sha256: 17e98bd877af4bce37d5b2aa9e3ebe92876f45e276a07e1cc87a9d151083f052
Contents?: true
Size: 692 Bytes
Versions: 17
Compression:
Stored size: 692 Bytes
Contents
# Initializes the template. # @return [void] def init sections :header, :box_info, :summary, :overview, T('tags'), :features, :confines, :defaults, :commands end # Renders the confines section. # @return [String] Returns the rendered section. def confines @title = 'Confines' @collection = object.confines erb(:collection) end # Renders the defaults section. # @return [String] Returns the rendered section. def defaults @title = 'Default Provider For' @collection = object.defaults erb(:collection) end # Renders the commands section. # @return [String] Returns the rendered section. def commands @title = 'Commands' @collection = object.commands erb(:collection) end
Version data entries
17 entries across 17 versions & 1 rubygems