class C::Array
Public Instance Methods
to_h_split(declaration = nil)
click to toggle source
# File lib/cast-to-yaml/to_yaml.rb, line 266 def to_h_split(declaration = nil) res = {} res["kind"] = "array" if type if declaration res["type"] = type.to_h_split(declaration) else res["type"] = type.to_h_split end else res["type"] = declaration.type.to_h_split end if length res["length"] = length.to_s end res end