norikra 0.0.9-java → 0.0.10-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,18 @@ module Norikra
71
71
  def getValueType; @func.getValueType; end # public Class getValueType()
72
72
  def enter(*args); @func.enter(*args); end # public void enter(Object value)
73
73
  def leave(*args); @func.leave(*args); end # public void leave(Object value)
74
- def getValue; @func.getValue; end # public Object getValue()
74
+
75
+ def getValue # public Object getValue()
76
+ v = @func.getValue
77
+ if v.respond_to?(:to_a)
78
+ v.to_a
79
+ elsif v.respond_to?(:to_hash)
80
+ v.to_hash
81
+ else
82
+ v
83
+ end
84
+ end
85
+
75
86
  def clear; @func.clear; end # public void clear()
76
87
  end
77
88
 
@@ -1,3 +1,3 @@
1
1
  module Norikra
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: norikra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9
5
+ version: 0.0.10
6
6
  platform: java
7
7
  authors:
8
8
  - TAGOMORI Satoshi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-20 00:00:00.000000000 Z
12
+ date: 2013-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mizuno