tableview 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tableview/helper.rb +3 -1
- data/lib/tableview/version.rb +1 -1
- metadata +2 -2
data/lib/tableview/helper.rb
CHANGED
@@ -12,9 +12,11 @@ module Tableview::Helper
|
|
12
12
|
def method_missing(name, *args, &blk)
|
13
13
|
puts name.inspect
|
14
14
|
if m = name.to_s.match(/^(.+)\?$/)
|
15
|
-
puts
|
15
|
+
puts "matched"
|
16
|
+
#puts m.inspect, name.inspect
|
16
17
|
@params[:format] == m.captures.first
|
17
18
|
else
|
19
|
+
puts "did not match"
|
18
20
|
super
|
19
21
|
end
|
20
22
|
end
|
data/lib/tableview/version.rb
CHANGED