Sha256: 4fb5aa9fd1456d932ed58c29f22857e668440be1845c0676034cee41babafc71
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" module Footnotes module Notes class LayoutNote < AbstractNote def initialize(controller) @controller = controller end def row :edit end def link escape(Footnotes::Filter.prefix(filename, 1, 1)) end def valid? prefix? && @controller.active_layout end protected def filename @controller.active_layout.filename end end end end
Version data entries
4 entries across 4 versions & 3 rubygems