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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b6972507ec3fa8c18a30ac264f47258ca20143225bd07590f40d6a509a096b5
4
- data.tar.gz: b173a05a28a045b0246e441911050db29f67af0e3747bd61f1e07020f3a8ac23
3
+ metadata.gz: f3c227f46986382a156b8507a7db8ba41d68fb2f34ff9f5f6de771328f92149f
4
+ data.tar.gz: 138c3a0af3fa85967eb8fc9257f0c486a5a2c1daa165a32a60fe205d53608ddd
5
5
  SHA512:
6
- metadata.gz: 93c72f0bf4b5fd4268e7c93d913a62411656cb71a59e6811974a90f14f45ffa88b54fdb20814c32797a291878cc9ec299678f1e754479897291f6da66db0a0a0
7
- data.tar.gz: e490ed75e9fd2dafbf16d13c0902885ac7a1c135238eb49e3550159ec4d5614db2c836f9d4d125484452d926ebf2ec1c8b206f82fd691f33382bfd153d051676
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
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clipsruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Johnston