Ruby GTK3移行後のメインリポジトリ
Revisão | 40ab17d5dbd54ecc5de7b08bcc7333e7ec5c3259 (tree) |
---|---|
Hora | 2016-01-03 22:16:27 |
Autor | Shyouzou Sugitani <shy@user...> |
Commiter | Shyouzou Sugitani |
update test-shiori-aya.rb
@@ -1,26 +0,0 @@ | ||
1 | -module Stub | |
2 | - | |
3 | - class Shiori | |
4 | - | |
5 | - def initialize(dll_name) | |
6 | - end | |
7 | - | |
8 | - def find(dir, dll) | |
9 | - return 50 | |
10 | - end | |
11 | - | |
12 | - def load(dir) | |
13 | - end | |
14 | - | |
15 | - def unload() | |
16 | - end | |
17 | - | |
18 | - def show_description | |
19 | - print("Currently SHIORI stub is working.\n") | |
20 | - end | |
21 | - | |
22 | - def request(req_str) | |
23 | - return "" | |
24 | - end | |
25 | - end | |
26 | -end |
@@ -8,7 +8,7 @@ module NinixTest | ||
8 | 8 | aya = Aya::Shiori.new('aya.dll') |
9 | 9 | aya.show_description |
10 | 10 | aya.load(:dir => top_dir) |
11 | - result = aya.dic.get_function(function).call(argv) | |
11 | + result = aya.dic.get_function(function).call(:argv => argv) | |
12 | 12 | print(result.to_s, "\n") |
13 | 13 | end |
14 | 14 | end |