class Icss::Meta::IdenticalArrayFactory

Public Class Methods

receive(obj) click to toggle source
# File lib/icss/type/type_factory.rb, line 26
def self.receive(obj)
  unless obj.nil? || obj.respond_to?(:each) then raise(ArgumentError, "Must supply an arraylike value, got #{obj.to_s[0..100]}") ; end
  obj
end
to_schema() click to toggle source
# File lib/icss/type/type_factory.rb, line 25
def self.to_schema() { :type => 'array' } ; end