Class: DSL::NamespaceWrapper
- Inherits:
-
Object
- Object
- DSL::NamespaceWrapper
- Includes:
- GlobalAwareEndpoint
- Defined in:
- lib/libraries_io/ext/tlaw.rb
Defined Under Namespace
Modules: GlobalAwareEndpoint
Class Method Summary collapse
Instance Method Summary collapse
Methods included from GlobalAwareEndpoint
Class Method Details
.globals ⇒ Object
3 4 5 |
# File 'lib/libraries_io/ext/tlaw.rb', line 3 def self.globals @@globals ||= [] end |
Instance Method Details
#global(name, type = nil, **opts) ⇒ Object
7 8 9 |
# File 'lib/libraries_io/ext/tlaw.rb', line 7 def global(name, type = nil, **opts) DSL::NamespaceWrapper.globals << [name, type, opts] end |