Module: DNote

Defined in:
lib/dnote/note.rb,
lib/dnote/notes.rb,
lib/dnote/format.rb,
lib/dnote/session.rb,
lib/dnote/version.rb,
lib/dnote/core_ext.rb,
lib/dnote/rake/dnotetask.rb

Defined Under Namespace

Modules: String Classes: Format, Note, Notes, RakeTask, Session

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



12
13
14
# File 'lib/dnote/version.rb', line 12

def self.const_missing(name)
  [name.to_s.downcase] || super(name)
end

.metadataObject



4
5
6
7
8
9
# File 'lib/dnote/version.rb', line 4

def self.
  @metadata ||= (
    require 'yaml'
    YAML.load_file(File.dirname(__FILE__) + '/../dnote.yml')
  )
end