clipsruby 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/ext/clipsruby/clipsruby.c +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3c227f46986382a156b8507a7db8ba41d68fb2f34ff9f5f6de771328f92149f
|
|
4
|
+
data.tar.gz: 138c3a0af3fa85967eb8fc9257f0c486a5a2c1daa165a32a60fe205d53608ddd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a58d5f08757fd89c5e41fdca66897b64de30c1e239c876595a76b3991dc9dc45400de4061cd39f949c9be9db2345938bfaf5e493ef60ee59988dc71c04e4c12b
|
|
7
|
+
data.tar.gz: ccefb2aa21db768a717cb872121400fe919b7c4355e42b6d3a2a62fba720e303002e426a9bad7d08f4f6a799c26bdb7e6814bab7a146a6284ee51099838e399d
|
data/README.md
CHANGED
|
@@ -1314,15 +1314,6 @@ env.find_deffunction("MAIN::other_deffunction")
|
|
|
1314
1314
|
|
|
1315
1315
|
### Deffacts Methods
|
|
1316
1316
|
|
|
1317
|
-
#### `CLIPS::Environment::Deffunction.call` / `CLIPS::Environment::Deffunction#call`
|
|
1318
|
-
|
|
1319
|
-
Calls the `Deffunction`, passing it the arguments, returning the return value
|
|
1320
|
-
|
|
1321
|
-
```ruby
|
|
1322
|
-
CLIPS::Environment::Deffunction.call(deffunction, :FOO, :BAR)
|
|
1323
|
-
deffunction.call(:FOO, :BAR)
|
|
1324
|
-
```
|
|
1325
|
-
|
|
1326
1317
|
#### `CLIPS::Environment::Deffacts.name` / `CLIPS::Environment::Deffacts#name`
|
|
1327
1318
|
|
|
1328
1319
|
Returns the name of a deffacts as a symbol
|
|
@@ -1390,6 +1381,15 @@ activation.pp_form
|
|
|
1390
1381
|
|
|
1391
1382
|
### Deffunction Methods
|
|
1392
1383
|
|
|
1384
|
+
#### `CLIPS::Environment::Deffunction.call` / `CLIPS::Environment::Deffunction#call`
|
|
1385
|
+
|
|
1386
|
+
Calls the `Deffunction`, passing it the arguments, returning the return value
|
|
1387
|
+
|
|
1388
|
+
```ruby
|
|
1389
|
+
CLIPS::Environment::Deffunction.call(deffunction, :FOO, :BAR)
|
|
1390
|
+
deffunction.call(:FOO, :BAR)
|
|
1391
|
+
```
|
|
1392
|
+
|
|
1393
1393
|
#### `CLIPS::Environment::Deffunction.name` / `CLIPS::Environment::Deffunction#name`
|
|
1394
1394
|
|
|
1395
1395
|
Returns the name of the `Deffunction` as a symbol
|
data/ext/clipsruby/clipsruby.c
CHANGED
|
@@ -5452,7 +5452,7 @@ static VALUE clips_environment_deffunction_call(int argc, VALUE *argv, VALUE sel
|
|
|
5452
5452
|
|
|
5453
5453
|
static VALUE clips_environment_deffunction_static_call(int argc, VALUE *argv, VALUE klass)
|
|
5454
5454
|
{
|
|
5455
|
-
return clips_environment_deffunction_call(argc, argv+1, argv[0]);
|
|
5455
|
+
return clips_environment_deffunction_call(argc-1, argv+1, argv[0]);
|
|
5456
5456
|
}
|
|
5457
5457
|
|
|
5458
5458
|
void Init_clipsruby(void)
|