Sha256: 8a02453dcf21b281c11217a17c2e762af3c65cd9edacd88901ba205bc3de4683
Contents?: true
Size: 608 Bytes
Versions: 10
Compression:
Stored size: 608 Bytes
Contents
module Zena module Parser module ZenaRules # FIXME: remove all this when rubyless is in place ! def start(mode) super if @method =~ /^\[(.*)\]$/ # do='[text] @method = 'show' @params[:attr_or_date] = $1 elsif @method =~ /^\{(.*)\}$/ # do='{text}' @method = 'zazen' @params[:attr] = $1 elsif @method =~ /\A(\w+)\s+(\w+)\s+(.+)$/ # 'pages where title ...' @params[:select] = @method @method = 'context' end end end # ZenaRules end # Parser end # Zena
Version data entries
10 entries across 10 versions & 1 rubygems