module Nukumi2 module View class Direct < Abstract def initialize(blog, path) super @entries = [] blog.topictree.each(path, false) { |t| @entries = t.data } end def entries @entries end end end end