Sha256: b1502d520010f5c67439ff6f91256a0398171360bad1738d4e0b9d8d8a38903f
Contents?: true
Size: 605 Bytes
Versions: 3
Compression:
Stored size: 605 Bytes
Contents
012345678901234567890123456789012345678901234567890123456789012345678901 ruby hw.rb -r webrick In this example, we've added some HTML structure to the view, and have inserted some dynamic content. The current date and time is now displayed on every request. In IOWA applications, code is not inserted directly into a view file. Rather, methods can be called from the controller, and the return value of the method will be inserted into the output of the view. The syntax for this is to use a special tag: <dynamicstring oid="foo" /> The value of the oid attribute is the name of the method to call.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
IOWA-1.0.3 | examples/hw2/iowa/README |
IOWA-1.0.2 | examples/hw2/iowa/README |
IOWA-1.0.0 | examples/hw2/iowa/README |