class Knartform::ActionGroup

Attributes

document[RW]
knart[RW]
level[RW]
node[RW]

Public Class Methods

new(level = 0) click to toggle source
# File lib/knartform/action_group.rb, line 8
def initialize(level = 0)
        self.level = level
end

Public Instance Methods

to_html() click to toggle source
# File lib/knartform/action_group.rb, line 12
def to_html
    path = File.expand_path('../../views/action_group.slim', __FILE__)
    html = Slim::Template.new(path, pretty: true, disable_escape: true).render(self)
end