Sha256: 27e15ec7f10e1243e805ca0b6c220fc523523c3b4057983d70771416b82c5bc3

Contents?: true

Size: 290 Bytes

Versions: 9

Compression:

Stored size: 290 Bytes

Contents

class Blog < Ezamar::Element
  def render
    %(
    <html>
      <head>
        <title>bl_Og</title>
        <link rel="stylesheet" href="/styles/blog.css" type="text/css"/>
      </head>
      <body>
        <h1>#{@title}</h1>
        #{content}
      </body>
    </html>
    )
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ramaze-0.1.1 examples/blog/src/view.rb
ramaze-0.1.0 examples/blog/src/view.rb
ramaze-0.1.2 examples/blog/src/view.rb
ramaze-0.1.4 examples/blog/src/view.rb
ramaze-0.1.3 examples/blog/src/view.rb
ramaze-0.2.0 examples/blog/src/view.rb
ramaze-0.3.5 examples/blog/src/view.rb
ramaze-0.3.0 examples/blog/src/view.rb
ramaze-0.2.1 examples/blog/src/view.rb