Sha256: 8d23c80d948afb813fd8af222a62c88f7810e25398090534a4f3630cc253aea0

Contents?: true

Size: 294 Bytes

Versions: 16

Compression:

Stored size: 294 Bytes

Contents

# encoding: utf-8

module Rouge::Metadata
  class InvalidMetadataError < StandardError; end

  def meta
    @meta
  end

  def meta= m
    if m != nil and m.class != Hash
      raise InvalidMetadataError, "bad metadata: #{m.inspect}"
    end

    @meta = m
  end
end

# vim: set sw=2 et cc=80:

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rouge-lang-0.0.16 lib/rouge/metadata.rb
rouge-lang-0.0.15 lib/rouge/metadata.rb
rouge-lang-0.0.14 lib/rouge/metadata.rb
rouge-lang-0.0.13 lib/rouge/metadata.rb
rouge-lang-0.0.12 lib/rouge/metadata.rb
rouge-lang-0.0.11 lib/rouge/metadata.rb
rouge-lang-0.0.10 lib/rouge/metadata.rb
rouge-lang-0.0.9 lib/rouge/metadata.rb
rouge-lang-0.0.8 lib/rouge/metadata.rb
rouge-lang-0.0.7 lib/rouge/metadata.rb
rouge-lang-0.0.6 lib/rouge/metadata.rb
rouge-lang-0.0.5 lib/rouge/metadata.rb
rouge-lang-0.0.4 lib/rouge/metadata.rb
rouge-lang-0.0.3 lib/rouge/metadata.rb
rouge-lang-0.0.2 lib/rouge/metadata.rb
rouge-lang-0.0.1 lib/rouge/metadata.rb