module ActiveInteraction::Hashable

Allow ‘hash` to be overridden when given arguments and/or a block.

@private

Public Instance Methods

hash(*args, &block) click to toggle source
Calls superclass method
# File lib/active_interaction/concerns/hashable.rb, line 10
def hash(*args, &block)
  if args.empty? && !block_given?
    super
  else
    method_missing(:hash, *args, &block)
  end
end