You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruleby
Isn't their a way to right a simple rule for a fact that is just a
string or a symbol?
For example, I've been trying to do something like this:
rule [String, :s, m.to_s == 'IdleFinished'] do |v|
puts 'idle finished'
end
Joe Kutner
unread,
Aug 31, 2009, 11:50:22 AM8/31/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rul...@googlegroups.com
That's the best way to write a rule for String. Eventually, I would
like to refine the Ruleby DSL with some convenience features. If you
have any ideas for how to improve on this case please let us know!