lib/r_socks/config.rb in r_socks-0.2.8 vs lib/r_socks/config.rb in r_socks-0.2.9
- old
+ new
@@ -116,7 +116,15 @@
end
def forward_addr=(value)
@store[:forward_addr] = value.to_s
end
+
+ def forward_white_list=(arr)
+ @store[:white_list] = arr
+ end
+
+ def forward_white_list
+ @store[:white_list] || []
+ end
end
end
\ No newline at end of file