Method: Typedocs::TypeSpec::HashValue#initialize

Defined in:
lib/typedocs/type_spec.rb

#initialize(entries, accept_others) ⇒ HashValue

[key, spec]… ->



133
134
135
136
137
138
139
# File 'lib/typedocs/type_spec.rb', line 133

def initialize(entries, accept_others)
  entries.each do|k, s|
    Typedocs.ensure_klass(s, Typedocs::TypeSpec)
  end
  @entries = entries
  @accept_others = accept_others
end