Class: Evil::Struct::Attributes
- Inherits:
-
Object
- Object
- Evil::Struct::Attributes
- Defined in:
- lib/evil/struct/attributes.rb
Overview
Handler for shared options
Class Method Summary collapse
Class Method Details
.call(*args, &block) ⇒ Object
4 5 6 |
# File 'lib/evil/struct/attributes.rb', line 4 def self.call(*args, &block) new(*args).instance_eval(&block) end |