Method: Mutx::Helpers#partial
- Defined in:
- lib/mutx/lib/helpers.rb
#partial(file, args = {}) ⇒ Object
30 31 32 33 |
# File 'lib/mutx/lib/helpers.rb', line 30 def partial(file, args={}) = File.read("#{Mutx::View.path}/#{file}.mote") Mote.parse(, self, args.keys).call(args) end |