Sha256: 211eafbb60a05617cda42d1d84cc84288cfbf6320d49a74eb285a27b85f83b08

Contents?: true

Size: 282 Bytes

Versions: 23

Compression:

Stored size: 282 Bytes

Contents

module Schemacop
  module V3
    class SymbolNode < Node
      def as_json
        {} # Not supported by Json Schema
      end

      def allowed_types
        { Symbol => 'Symbol' }
      end

      def self.allowed_options
        super + %i[cast_str]
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
schemacop-3.0.30 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.29 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.28 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.27 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.26 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.25 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.24 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.23 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.22 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.21 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.20 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.19 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.18 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.17 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.16 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.15 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.14 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.13 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.12 lib/schemacop/v3/symbol_node.rb
schemacop-3.0.11 lib/schemacop/v3/symbol_node.rb