Sha256: 73b17a9372a2c72117257f60af94d84ffb5684b6259adcd2b7f26237547e357b

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

module Yamlr
  module Indicators
    DOC_START   = '---'
    DOC_TERM    = '...'
    HASH        = ':'
    SYMBOL      = ':'
    ARRAY       = '-'
    COMMENT     = '#'
    LINE_END    = "\n"
    SPACE       = "\s"
    INDENT      = 2

    def self.options
      { :doc_start  => DOC_START,
        :doc_term   => DOC_TERM,
        :hash       => HASH,
        :symbol     => SYMBOL,
        :array      => ARRAY,
        :comment    => COMMENT,
        :line_end   => LINE_END,
        :space      => SPACE,
        :indent     => INDENT }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yamlr-2.0.0 lib/yamlr/indicators.rb