Sha256: 19f93f272a116af581ae330db51b2f2cae92102cb287d2bd516a00caf314e3ff

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

module Processing


  module Module

    module_function

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

    def version()
      open(root_dir 'VERSION') {|f| f.readline.chomp}
    end

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

  end# Module


end# Processing

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
processing-0.5.0 lib/processing/module.rb
processing-0.4.0 lib/processing/module.rb