Sha256: ed2295b690fffc7ee03670c3952b1f7ab5615b46179916ac722d1b7964fbefae

Contents?: true

Size: 217 Bytes

Versions: 3

Compression:

Stored size: 217 Bytes

Contents

module Echelon
  class Ride
    attr_reader :name, :queue_time, :active

    def initialize(*params)
      params.each do |key|
        key.each { |k, v| instance_variable_set("@#{k}", v) }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
echelon-0.0.3 lib/echelon/ride.rb
echelon-0.0.2 lib/echelon/ride.rb
echelon-0.0.1 lib/echelon/ride.rb