Sha256: 23c99b1726203886b1be1a9a749be2f488b26511951fb14677852b6088ac4a86

Contents?: true

Size: 320 Bytes

Versions: 34

Compression:

Stored size: 320 Bytes

Contents

module Processing


  # @private
  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

34 entries across 34 versions & 1 rubygems

Version Path
processing-1.1.2 lib/processing/extension.rb
processing-1.1.1 lib/processing/extension.rb
processing-1.1 lib/processing/extension.rb
processing-1.0.3 lib/processing/extension.rb
processing-1.0.2 lib/processing/extension.rb
processing-1.0.1 lib/processing/extension.rb
processing-0.5.34 lib/processing/extension.rb
processing-0.5.33 lib/processing/extension.rb
processing-0.5.32 lib/processing/extension.rb
processing-0.5.31 lib/processing/extension.rb
processing-0.5.30 lib/processing/extension.rb
processing-0.5.29 lib/processing/extension.rb
processing-0.5.28 lib/processing/extension.rb
processing-0.5.27 lib/processing/extension.rb
processing-0.5.26 lib/processing/extension.rb
processing-0.5.25 lib/processing/extension.rb
processing-0.5.24 lib/processing/extension.rb
processing-0.5.23 lib/processing/extension.rb
processing-0.5.22 lib/processing/extension.rb
processing-0.5.21 lib/processing/extension.rb