Sha256: 2b894c21d68a6348b88ba964e890fb80e52b7f7a0496ef3ea0de152f932e2c0d

Contents?: true

Size: 308 Bytes

Versions: 7

Compression:

Stored size: 308 Bytes

Contents

module RubySketch


  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# RubySketch

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubysketch-0.3.22 lib/rubysketch/module.rb
rubysketch-0.3.21 lib/rubysketch/module.rb
rubysketch-0.3.20 lib/rubysketch/module.rb
rubysketch-0.3.19 lib/rubysketch/module.rb
rubysketch-0.3.18 lib/rubysketch/module.rb
rubysketch-0.3.17 lib/rubysketch/module.rb
rubysketch-0.3.16 lib/rubysketch/module.rb