Sha256: 5ae22b49c5ff13aa4f342dd0db3d92a11d50e56cc1b139a917ad9c580285bc3f

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

module ActiveHash

  module ARApi

    module FindBy

      def find_by(options = {})
        send("find_by_#{options.keys.first}", options.values.first)
      end

    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_mocker-1.1.5 lib/active_hash/find_by.rb
active_mocker-1.1.4 lib/active_hash/find_by.rb
active_mocker-1.1.3 lib/active_hash/find_by.rb
active_mocker-1.1.2 lib/active_hash/find_by.rb
active_mocker-1.1.1 lib/active_hash/find_by.rb