Sha256: 6343b55a89d4d518c29b5fc83c661eaae570f41a1085dfbeedc5e6a68d5c22ec

Contents?: true

Size: 252 Bytes

Versions: 6

Compression:

Stored size: 252 Bytes

Contents

require_relative "partial"

module NicePartials::Helper
  def nice_partial_with(local_assigns)
    NicePartials::Partial.new(self, local_assigns)
  end

  def nice_partial
    NicePartials::Partial.new(self)
  end
  alias_method :np, :nice_partial
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nice_partials-0.10.1 lib/nice_partials/helper.rb
nice_partials-0.10.0 lib/nice_partials/helper.rb
nice_partials-0.9.3 lib/nice_partials/helper.rb
nice_partials-0.9.2 lib/nice_partials/helper.rb
nice_partials-0.9.1 lib/nice_partials/helper.rb
nice_partials-0.9.0 lib/nice_partials/helper.rb