lib/table_helper/row.rb in table_helper-0.2.1 vs lib/table_helper/row.rb in table_helper-0.2.2
- old
+ new
@@ -1,10 +1,10 @@
require 'table_helper/cell'
module TableHelper
# Provides a blank class that can be used to build the cells for a row
class RowBuilder < BlankSlate #:nodoc:
- reveal :respond_to?
+ reveal :respond_to? if find_hidden_method(:respond_to?)
# Creates a builder for the given row
def initialize(row)
@row = row
end