Sha256: a2390764036ebc70010929f87eaca72a8cbcdc9ee3c00c33cad20215880f7f52

Contents?: true

Size: 177 Bytes

Versions: 6

Compression:

Stored size: 177 Bytes

Contents

module Crags
  class Item
    attr_reader :title, :url, :date

    def initialize(elem)
      @title = elem.title
      @url = elem.url
      @date = elem.date
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
crags-2.2.1 lib/crags/item.rb
crags-2.2.0 lib/crags/item.rb
crags-2.1.2 lib/crags/item.rb
crags-2.1.1 lib/crags/item.rb
crags-2.1.0 lib/crags/item.rb
crags-2.0.0 lib/crags/item.rb