Sha256: 89490ea630de2d7b5aafe37aa721a05f3b1652bf93b9a9ee1b11fe4640130670

Contents?: true

Size: 265 Bytes

Versions: 13

Compression:

Stored size: 265 Bytes

Contents

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

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

      @name = attributes['name']
      @number = attributes['number'].to_i
      @path = attributes['path']
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
readmedia-garb-0.9.1.1 lib/garb/step.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/garb-0.9.1/lib/garb/step.rb
garb-0.9.1 lib/garb/step.rb
garb-0.9.0 lib/garb/step.rb
garb-0.8.5 lib/garb/step.rb
titanous-garb-0.8.7 lib/garb/step.rb
titanous-garb-0.8.5 lib/garb/step.rb
garb-0.8.4 lib/garb/step.rb
garb-0.8.3 lib/garb/step.rb
garb-0.8.2 lib/garb/step.rb
garb-0.8.1 lib/garb/step.rb
garb-0.8.0 lib/garb/step.rb
garb-0.7.6 lib/garb/step.rb