Sha256: e9048c3d6e53ebb2411299dc74a359dc7836f8826de8f86ff032bc2dfcd9a5dd

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

module Garb
  class Step
    attr_reader :name, :number, :url

    def initialize(attributes)
      return unless attributes.is_a? Hash

      @name = attributes['name']
      @number = attributes['number']
      @url = attributes['url']
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
garb-0.9.8 lib/garb/step.rb
garb-0.9.7 lib/garb/step.rb