Sha256: a8ae2e4627d9d48aea1dc7591f2de4f366f0a8c096b967c0504c9cb0530ce785

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

=Dirge

==Usage

  require 'dirge'
  require_relative '../to_my_file'
  
Or, the much simpler notation

  require ~'../to_my_file'

annnd.

  class MyAwesomeClass
    autoload_relative :MyConstant, 'my_awesome_class/my_constant'
  end

Again, this could be 

  class MyAwesomeClass
    autoload :MyConstant, ~'my_awesome_class/my_constant'
  end

All of this is powered by the new function:
  
  __DIR__

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
captain_planet-0.2.0 vendor/gems/gems/dirge-0.0.3/README.rdoc
captain_planet-0.1.0 vendor/gems/gems/dirge-0.0.3/README.rdoc
dirge-0.0.3 README.rdoc
dirge-0.0.2 README.rdoc