Sha256: c569d95e230cd9038df1a10ba06eca531fd27c6578cfa23ed8f8615d1ee00236

Contents?: true

Size: 227 Bytes

Versions: 36

Compression:

Stored size: 227 Bytes

Contents

module Schemacop
  module V3
    class IntegerNode < NumericNode
      def as_json
        process_json(ATTRIBUTES, type: :integer)
      end

      def allowed_types
        { Integer => :integer }
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

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