something is wrong in my isntalation of IOWA.
I have IOWA 0.15 and ruby 1.7.3 (2002-10-29) [i586-linux].
When I create Main.html like this:
<%
class Main < Iowa::Component
attr_reader :loggedTimes
attr_accessor :logItem
def awake @loggedTimes = []
end
def time
Time.now
end
def log @loggedTimes << Time.now
end
end
%>
<?
logList {
list = loggedTimes
item = logItem
}
?>
... cut some html code
$ ruby -riowa -e “Iowa.run(‘tutorial’)”
/home/radek/lib/ruby/site_ruby/iowa/BindingsParser.rb:26: warning: parenthesize argument(s) for future version
listening on /tmp/iowa_tutorial
I have IOWA 0.15 and ruby 1.7.3 (2002-10-29) [i586-linux].
^^^^^^^^^^
url =~ "(.?/iowa/[^/])(/.)?"
url =~ %r{(.?/iowa/[^/])(/.)?}
def initialize(url, params, out)
url =~ "(.*?/iowa/[^/]*)(/.*)?"
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# modify this line and re-install it
@urlRoot = $1
thanks much, it’s working now
Verify if it exist other regexp like this
I try to look for such things. Hope grep ‘=~’ will be enough.
once again, many thanks for help.
···
On Sat, Nov 02, 2002 at 12:00:46AM +0900, ts wrote:
–
Radek Hnilica
No matter how far down the wrong road you’ve gone, turn back.
Turkish proverb