cmdr 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmdr.rb +3 -8
- metadata +1 -1
data/lib/cmdr.rb
CHANGED
@@ -11,9 +11,7 @@ class Cmdr
|
|
11
11
|
|
12
12
|
def initialize(opt={}, app_mgr=nil)
|
13
13
|
|
14
|
-
|
15
|
-
public:
|
16
|
-
{
|
14
|
+
opt[:public].merge!({
|
17
15
|
alias: {},
|
18
16
|
user:
|
19
17
|
{'-1' =>
|
@@ -22,13 +20,10 @@ class Cmdr
|
|
22
20
|
{list: [], index: []}
|
23
21
|
}
|
24
22
|
}
|
25
|
-
}
|
26
|
-
config: {bottom_up_display: true}
|
27
|
-
}
|
28
|
-
|
29
|
-
opt.merge!(o)
|
23
|
+
})
|
30
24
|
|
31
25
|
@v = opt[:public]
|
26
|
+
@bottom_up_display = opt[:config] and opt[:config][:bottom_up_display] ? opt[:config][:bottom_up_display] : true
|
32
27
|
@@app = app_mgr
|
33
28
|
|
34
29
|
super()
|