Sha256: 5639643501491386f8eb957c9c5e2cd9ef88b2760b3fa69bfcaa415045e49c04

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

module Processing


  module Extension

    module_function

    def name()
      super.split('::')[-2]
    end

    def version()
      File.read(root_dir 'VERSION')[/[\d\.]+/]
    end

    def root_dir(path = '')
      File.expand_path "../../#{path}", __dir__
    end

  end# Extension


end# Processing

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
processing-0.5.4 lib/processing/extension.rb
processing-0.5.3 lib/processing/extension.rb
processing-0.5.2 lib/processing/extension.rb
processing-0.5.1 lib/processing/extension.rb