erikw/nestedtext-ruby

View on GitHub
lib/nestedtext/constants.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

require 'stringio'

module NestedText
  TOP_LEVEL_TYPES = [Object, Hash, Array, String].freeze
  CUSTOM_CLASS_KEY = '__nestedtext_class__'

  private_constant :TOP_LEVEL_TYPES, :CUSTOM_CLASS_KEY
end