class ARulebook < Ruleby::Rulebook
def rules
rule :my_handle [Thing, :t ] do |context|
assert a = Action.new(:rule_name => 'my_handle')
end
end
end
can I access the rule handle :my_handle inside the rule?
btw, nice job, joe.
--
You received this message because you are subscribed to the Google Groups "Ruleby" group.
To post to this group, send email to rul...@googlegroups.com.
To unsubscribe from this group, send email to ruleby+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruleby?hl=en.
On Mar 15, 9:28 am, Joe Kutner <jpkut...@gmail.com> wrote:
> In short: No.
>
> On Fri, Mar 12, 2010 at 4:46 PM, bobgimlich <giml...@gmail.com> wrote:
> > I if i have rule
>
> > class ARulebook < Ruleby::Rulebook
> > def rules
> > rule :my_handle [Thing, :t ] do |context|
> > assert a = Action.new(:rule_name => 'my_handle')
> > end
> > end
> > end
>
> > can I access the rule handle :my_handle inside the rule?
>
> > btw, nice job, joe.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruleby" group.
> > To post to this group, send email to rul...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > ruleby+un...@googlegroups.com<ruleby%2Bunsu...@googlegroups.com>