Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/wallpapering/core_ext/array.rb
Instance Method Summary collapse
Instance Method Details
#map_as(klass) ⇒ Object
2 3 4 5 |
# File 'lib/wallpapering/core_ext/array.rb', line 2 def map_as(klass) warn "[DEPRECATED] `map_as` has been deprecated in favour of `map(&Decorator)`" map{ |e| klass.new(e) } end |