Class: EvilEvents::Shared::Structure
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- EvilEvents::Shared::Structure
- Defined in:
- lib/evil_events/shared/structure.rb
Overview
Class Method Summary collapse
Class Method Details
._native_attribute ⇒ Object
12 |
# File 'lib/evil_events/shared/structure.rb', line 12 alias_method :_native_attribute, :attribute |
.attribute(key, type = EvilEvents::Shared::Types::Any) ⇒ Object
18 19 20 |
# File 'lib/evil_events/shared/structure.rb', line 18 def attribute(key, type = EvilEvents::Shared::Types::Any) _native_attribute(key, type) end |