Sha256: 31f5e25c55558e49f97297018dc5d08ee800b4e453eb6a5de75d8024a01f3233
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" require "#{File.dirname(__FILE__)}/../view_subscriber" module Footnotes module Notes class ViewNote < AbstractNote def row :edit end def link escape(Footnotes::Filter.prefix(view, 1, 1)) end def valid? prefix? && view end def view @view ||= Footnotes.view_subscriber.view end end end end
Version data entries
4 entries across 4 versions & 1 rubygems