p-lang 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -41,7 +41,7 @@ Messages:
41
41
 
42
42
  == Install
43
43
 
44
- $ sudo install p-lang
44
+ $ sudo gem install p-lang
45
45
 
46
46
  == Running
47
47
 
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :build:
4
4
  :major: 0
5
5
  :minor: 1
data/bin/teste.p CHANGED
@@ -0,0 +1,3 @@
1
+ f = ["aaaa"->equal("aaaa")]
2
+
3
+ print(f())
@@ -44,7 +44,11 @@ module PLang
44
44
  end
45
45
  return lamb
46
46
  rescue
47
- PError.raise_error(:ObjectCallError, "undefined message #{object} -> #{msg}")
47
+ if @parent
48
+ @parent.get_object_call(object, msg)
49
+ else
50
+ PError.raise_error(:ObjectCallError, "undefined message #{object} -> #{msg}")
51
+ end
48
52
  end
49
53
  end
50
54
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p-lang
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Bonadio