Sha256: 91ad62e66e7de24d4b5d5c7a00b69259e13a38218ab71bb5d5d40955fd565464

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

% suites_list = Kaya::API::Suites.list({})
% if suites_list["suites"].size > 0
  % suite_template = Mote.parse(File.read("#{Kaya::View.path}/suites/suite.mote"), self, [:suite])
  % suites_list = suites_list["suites"]
  % suites_list.select!{|suite| suite["name"]==suite_name} if suite_name
  % suites_list.each do |suite_data|
    {{suite_template.call(suite:suite_data)}}
  % end
% end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kaya-0.0.5 lib/kaya/view/suites/suites.mote
kaya-0.0.4 lib/kaya/view/suites/suites.mote
kaya-0.0.3 lib/kaya/view/suites/suites.mote
kaya-0.0.2 lib/kaya/view/suites/suites.mote
kaya-0.0.1 lib/kaya/view/suites/suites.mote