Module: Druthers::Support

Extended by:
ActiveSupport::Concern
Defined in:
lib/druthers/support.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#validate_druthersObject



10
11
12
13
# File 'lib/druthers/support.rb', line 10

def validate_druthers
  sym = "validate_#{key}".to_sym
  send(sym) if respond_to?(sym)
end