class Schemacop::V3::NumberNode
Public Instance Methods
allowed_types()
click to toggle source
# File lib/schemacop/v3/number_node.rb, line 8 def allowed_types { Integer => :integer, Float => :float, Rational => :rational, BigDecimal => :big_decimal } end
as_json()
click to toggle source
# File lib/schemacop/v3/number_node.rb, line 4 def as_json process_json(ATTRIBUTES, type: :number) end