module MethodHelpers

Public Instance Methods

methods() click to toggle source

@private

Calls superclass method
# File lib/robust_excel_ole/general.rb, line 407
def methods 
  if alive?
    (super.map { |m| m.to_s } + ole_object.ole_methods.map { |m| m.to_s }).uniq.select { |m| m =~ /^(?!\_)/ }.sort
  else
    super
  end
end
respond_to?(meth_name, include_private = false) click to toggle source

@private

Calls superclass method
# File lib/robust_excel_ole/general.rb, line 398
def respond_to?(meth_name, include_private = false) 
  if alive?
    methods.include?(meth_name.to_s)
  else
    super
  end
end