tubular 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,22 @@ module Tubular
28
28
  columns << build_column(*args, &block)
29
29
  end
30
30
 
31
+ def method_missing(m, *args, &block)
32
+ if context.respond_to?(m)
33
+ context.send(m, *args, &block)
34
+ else
35
+ super
36
+ end
37
+ end
38
+
39
+ def respond_to?(m)
40
+ if context.respond_to?(m)
41
+ true
42
+ else
43
+ super
44
+ end
45
+ end
46
+
31
47
  protected
32
48
 
33
49
  attr_reader :context, :collection, :columns, :table_html
@@ -1,3 +1,3 @@
1
1
  module Tubular
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tubular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: