--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: name
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: from_file
- !ruby/object:RI::MethodSummary 
  name: from_io
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: A class that can read a GIMP (GNU Image Manipulation Program) palette file and provide a Hash-like interface to the contents. GIMP colour palettes are RGB values only.
- !ruby/struct:SM::Flow::P 
  body: Because two or more entries in a GIMP palette may have the same name, all named entries are returned as an array.
- !ruby/struct:SM::Flow::VERB 
  body: "  pal = Color::Palette::Gimp.from_file(my_gimp_palette)\n  pal[0]          =&gt; Color::RGB&lt;...&gt;\n  pal[&quot;white&quot;]    =&gt; [ Color::RGB&lt;...&gt; ]\n  pal[&quot;unknown&quot;]  =&gt; [ Color::RGB&lt;...&gt;, Color::RGB&lt;...&gt;, ... ]\n"
- !ruby/struct:SM::Flow::P 
  body: GIMP Palettes are always indexable by insertion order (an integer key).
constants: []

full_name: Color::Palette::Gimp
includes: 
- !ruby/object:RI::IncludedModule 
  name: Enumerable
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: each
- !ruby/object:RI::MethodSummary 
  name: each_name
- !ruby/object:RI::MethodSummary 
  name: size
- !ruby/object:RI::MethodSummary 
  name: valid?
- !ruby/object:RI::MethodSummary 
  name: values_at
name: Gimp
superclass: Object
