Class: Typisch::DSLContext
Instance Attribute Summary collapse
-
#registry ⇒ Object
readonly
Returns the value of attribute registry.
Instance Method Summary collapse
-
#initialize(registry) ⇒ DSLContext
constructor
A new instance of DSLContext.
Methods included from DSL
#_normalize_object_args, #_object, #annotate, #derived_from, #nullable, #object, #register, #register_type_for_class, #register_version_type_for_class, #sequence, #string, #tuple, #type, #union
Constructor Details
#initialize(registry) ⇒ DSLContext
Returns a new instance of DSLContext.
237 238 239 |
# File 'lib/typisch/dsl.rb', line 237 def initialize(registry) @registry = registry end |
Instance Attribute Details
#registry ⇒ Object (readonly)
Returns the value of attribute registry.
235 236 237 |
# File 'lib/typisch/dsl.rb', line 235 def registry @registry end |