Sha256: e3b49c6e46cfbcfc7810bd82833f81296eaa712abcbd41d927e958e4efd1fcb7
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
# frozen_string_literal: true module Polites # The markup section defines the markup used in a Polites document, specifying # both its versions and patterns defined in {Tag}s. class Markup # @return [String] attr_reader :version # @return [String] attr_reader :identifier # @return [String] attr_reader :display_name # @return [Array<Tag>] attr_reader :tags # @param [String] version # @param [String] identifier # @param [String] display_name # @param [Array<Tag>] tags def initialize(version, identifier, display_name, tags = []) @version = version @identifier = identifier @display_name = display_name @tags = tags freeze end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polites-0.3.0 | lib/polites/markup.rb |
polites-0.2.0 | lib/polites/markup.rb |
polites-0.1.0 | lib/polites/markup.rb |