aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXWriter+Transformations.m
blob: 30e5000afdfe585707eab828f720554e9a548c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import "GRXWriter+Transformations.h"

#import "transformations/GRXMappingWriter.h"

@implementation GRXWriter (Transformations)

- (GRXWriter *)map:(id (^)(id))map {
  if (!map) {
    return self;
  }
  return [[GRXMappingWriter alloc] initWithWriter:self map:map];
}

@end