Sha256: 5af0b6e863b456c4c8a3d1649932da70ea159d94ee8334a54ef7ec76d46e20d2

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 Bytes

Contents

module OffTheGrid
  # A base class for all resources keyed off of a #name attribute
  class NamedResource
    include GridResource

    attr_reader :name

    def initialize(name)
      @name = name
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
off_the_grid-0.0.6 lib/off_the_grid/named_resource.rb
off_the_grid-0.0.5 lib/off_the_grid/named_resource.rb