cmdr 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmdr.rb +2 -2
- metadata +1 -1
data/lib/cmdr.rb
CHANGED
@@ -12,7 +12,7 @@ class Cmdr
|
|
12
12
|
def initialize(opt={})
|
13
13
|
@v = opt[:public]
|
14
14
|
o = {bottom_up_display: true}.merge(opt[:config])
|
15
|
-
bottom_up_display = o[:bottom_up_display]
|
15
|
+
@bottom_up_display = o[:bottom_up_display]
|
16
16
|
super()
|
17
17
|
end
|
18
18
|
|
@@ -72,7 +72,7 @@ class Cmdr
|
|
72
72
|
end
|
73
73
|
|
74
74
|
javascript = []
|
75
|
-
javascript << bottom_up_display == true ? listmite(out) : listite(out)
|
75
|
+
javascript << @bottom_up_display == true ? listmite(out) : listite(out)
|
76
76
|
javascript << job_with_js
|
77
77
|
|
78
78
|
xml = Builder::XmlMarkup.new( :target => buffer='', :indent => 2 )
|