Sha256: acc1b91d32a05523a562a6a136e8c25eabdcc3121f99fa00160eb6e928f58a28

Contents?: true

Size: 157 Bytes

Versions: 9

Compression:

Stored size: 157 Bytes

Contents

class HashPresenter < Mystique::Presenter
  def each
    super do |key, value|
      yield(Mystique.present(key), Mystique.present(value))
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mystique-1.0.1 lib/mystique/presenters/hash_presenter.rb
mystique-1.0.0 lib/mystique/presenters/hash_presenter.rb
mystique-0.10.2 lib/mystique/presenters/hash_presenter.rb
mystique-0.10.1 lib/mystique/presenters/hash_presenter.rb
mystique-0.10.0 lib/mystique/presenters/hash_presenter.rb
mystique-0.9.1 lib/mystique/presenters/hash_presenter.rb
mystique-0.8.0 lib/mystique/presenters/hash_presenter.rb
mystique-0.7.0 lib/mystique/presenters/hash_presenter.rb
mystique-0.6.0 lib/mystique/presenters/hash_presenter.rb