Sha256: 4066360acb442aa88605f3798abc575da086c306c9347cc42b42969e2542511e

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

module DNote
  VERSION = "1.1.2"  #: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.2 lib/dnote.rb