Sha256: 8e054c691f42f7ffc02bc95307573dc2bd02d20fffffd97e43af4ead1ff7c699

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

class Emmental
  class Headers < Array
    def initialize(headers=[])
      super([headers].flatten)
    end

    def add_header(header)
      self << header unless self.include?(header)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emmental-0.0.1 lib/emmental/headers.rb