Sha256: 3219fdc9ea3c613c264d60ed6bbb599dec5e6a454b127c16674ea7dd962eb14d

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

module Jei
  class Link
    # @return [String]
    attr_reader :name

    # @return [String]
    attr_reader :href

    # @return [Hash<Symbol, Object>]
    attr_reader :meta

    # @param [Symbol] name
    # @param [String] href
    # @param [Hash<Symbol, Object>] meta
    def initialize(name, href, meta = {})
      @name = name
      @href = href
      @meta = meta
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jei-0.3.0 lib/jei/link.rb
jei-0.2.0 lib/jei/link.rb
jei-0.1.0 lib/jei/link.rb