Sha256: 406744360b643c1101d6bf98f5d03fb6bce510ac5447c3114ec3fbff65fb222d
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
module DNote VERSION = "1.1.1" #:till: VERSION = "<%= version %>" require 'dnote/notes' # NOTE: Toying with the idea of making DNote a class. #attr :notes # #def initialize(paths, options={}) # labels = options[:labels] || options['labels'] # @notes = Notes.new(paths, labels) #end # # #def save(format, output, options) # options = options.merge({ :format=>format, :output=>output }) # format = Format.new(notes, options) # format.render #end # # #def display(format, options) # options = options.merge({ :format=>format, :output=>nil }) # format = Format.new(@notes, options) # format.render #end end # TEST: This is a test of arbitraty labels.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dnote-1.1.1 | lib/dnote.rb |