module Icss::Meta::HashType

A hash of objects with a specified type.

Public Instance Methods

receive(raw) click to toggle source
# File lib/icss/type/structured_schema.rb, line 94
def receive(raw)
  return nil if raw.nil? || (raw == "")
  obj = self.new
  raw.each{|rk,rv| obj[rk] = (rv.is_a?(values) ? rv : values.receive(rv)) }
  obj
end
to_schema() click to toggle source
# File lib/icss/type/structured_schema.rb, line 100
def to_schema() _schema.to_hash end