Method: Conify::Command#klass_has_method?

Defined in:
lib/conify/command.rb

#klass_has_method?(klass, method) ⇒ Boolean

Check to see if user-defined method exists on a klass

Returns:

  • (Boolean)


116
117
118
# File 'lib/conify/command.rb', line 116

def klass_has_method?(klass, method)
  manually_added_methods(klass).include?(method.to_sym)
end