diff options
| author | realtradam <[email protected]> | 2021-06-10 12:04:40 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-06-10 12:04:40 -0400 |
| commit | 61b6b4f8e524eb93e56e5dbe62f2387ed39970e9 (patch) | |
| tree | 4963b5fd028634322b92f21dd399ca3da4a52959 /signatures.rb | |
| parent | 4301561e90eaa1ac61885e10d6f77f42a879f7e1 (diff) | |
| download | FelECS-61b6b4f8e524eb93e56e5dbe62f2387ed39970e9.tar.gz FelECS-61b6b4f8e524eb93e56e5dbe62f2387ed39970e9.zip | |
proper implementation of entities and components + their documentation
Diffstat (limited to 'signatures.rb')
| -rw-r--r-- | signatures.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/signatures.rb b/signatures.rb deleted file mode 100644 index 7827607..0000000 --- a/signatures.rb +++ /dev/null @@ -1,22 +0,0 @@ -class FelFlame - class Signature - class <<self - def next_signature - @next_signature ||= 1 - end - - def next_signature= num - @next_signature = num - end - - def create_new_signature(name) - temp = self.next_signature - self.next_signature = 2 * self.next_signature - define_singleton_method(name) do - temp - end - send(name) - end - end - end -end |
