Sha256: 4a5de8a9a5579c67d475dc31f430c2a22fe0cb0c863205e75e368a93fa3739c7

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

module DNote
  VERSION = "1.1.3"  #:till: VERSION = "<%= version %>"

  require 'dnote/notes'
  require 'dnote/format'

  # 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.1.4 lib/dnote.rb
dnote-1.1.3 lib/dnote.rb