Sha256: 377b6c8f8c86d219f49190c6a1a6bba2b9ad6aa88095404ef9a6e1b9e750acf6
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
module DNote VERSION = "1.2.0" #:till: VERSION = "<%= version %>" require 'dnote/session' # 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.2.0 | lib/dnote.rb |