Class: Bizflow::BusinessModel::SimpleWrapper
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Bizflow::BusinessModel::SimpleWrapper
show all
- Defined in:
- lib/bizflow/business_model/simple_wrapper.rb
Class Method Summary
collapse
Class Method Details
.wrap(item) ⇒ Object
8
9
10
|
# File 'lib/bizflow/business_model/simple_wrapper.rb', line 8
def self.wrap(item)
new item
end
|
.wraps(items) ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/bizflow/business_model/simple_wrapper.rb', line 12
def self.wraps(items)
res = items.map do |item|
new item
end
res
end
|