Sha256: dc38a08f8519a446113edc124036052516e1f0385223dd7045a7f5482301adf9

Contents?: true

Size: 158 Bytes

Versions: 2

Compression:

Stored size: 158 Bytes

Contents

class Hyde
module Helpers
  def partial(path, locals={})
    partial = Partial[path.to_s, page]  or return ''
    partial.to_html :page => self
  end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydeweb-0.1.1 lib/hyde/helpers.rb
hydeweb-0.1.0 lib/hyde/helpers.rb