forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSNSSet.m
39 lines (31 loc) · 886 Bytes
/
FSNSSet.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* FSNSSet.m Copyright (c) 2000-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import "FSNSSet.h"
#import "FSBlock.h"
#import "FSMiscTools.h"
#import "FScriptFunctions.h"
#import "FSSystemPrivate.h"
@implementation NSSet(FSNSSet)
- (void) inspect
{
[self inspectWithSystem:nil];
}
- (void)inspectWithSystem:(FSSystem *)system
{
FSVerifClassArgs(@"inspectWithSystem:",1,system,[FSSystem class],(NSInteger)1);
[self inspectWithSystem:system blocks:nil];
}
- (void)inspectWithSystem:(FSSystem *)system blocks:(NSArray *)blocks;
{
inspectCollection(self, system, blocks);
}
- (void) inspectIn:(FSSystem *)system
{
FSVerifClassArgsNoNil(@"inspectIn:",1,system,[FSSystem class]);
[self inspectWithSystem:system];
}
- (void) inspectIn:(FSSystem *)system with:(NSArray *)blocks
{
[self inspectWithSystem:system blocks:blocks];
}
@end