Sha256: d89bd1ce09f06c347917d9d91900ff3fefc42f25e127eee220474f43f61368bb

Contents?: true

Size: 711 Bytes

Versions: 2

Compression:

Stored size: 711 Bytes

Contents

module DNote
  VERSION = "1.2.1"  #: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

2 entries across 2 versions & 1 rubygems

Version Path
dnote-1.3.0 lib/dnote.rb
dnote-1.2.1 lib/dnote.rb