class JsonSchema::Artesano::Tools::Null
Public Class Methods
new()
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 12 def initialize end
Public Instance Methods
select_anyof(materials)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 35 def select_anyof(materials) materials.sample end
select_oneof(materials)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 31 def select_oneof(materials) materials.sample end
shape_array(materials)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 19 def shape_array(materials) materials end
shape_enum(material)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 27 def shape_enum(material) nil end
shape_object(material)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 15 def shape_object(material) material end
shape_primitive(material)
click to toggle source
# File lib/json_schema/artesano/tools/null.rb, line 23 def shape_primitive(material) nil end