Module: NicePartials::Helper

Defined in:
lib/nice_partials/helper.rb

Instance Method Summary collapse

Instance Method Details

#nice_partialObject Also known as: np



8
9
10
# File 'lib/nice_partials/helper.rb', line 8

def nice_partial
  NicePartials::Partial.new(self)
end

#nice_partial_with(local_assigns) ⇒ Object



4
5
6
# File 'lib/nice_partials/helper.rb', line 4

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