Class: H2o::DataObject
Constant Summary
collapse
- INTERNAL_METHOD =
/^__/
- @@required_methods =
[:__send__, :__id__, :object_id, :respond_to?, :extend, :methods, :class, :nil?, :is_a?, :to_h2o, :respond_to_missing?]
Instance Method Summary
collapse
Instance Method Details
#respond_to?(method) ⇒ Boolean
116
117
118
119
120
121
|
# File 'lib/h2o/context.rb', line 116
def respond_to?(method)
method_name = method.to_s
return false if method_name =~ INTERNAL_METHOD
return false if @@required_methods.include?(method_name)
super
end
|