class Poppler::Color
Public Class Methods
new(red, green, blue)
click to toggle source
# File lib/poppler/color.rb, line 20 def initialize(red, green, blue) initialize_raw self.red = red self.green = green self.blue = blue end
Also aliased as: initialize_raw
Public Instance Methods
inspect()
click to toggle source
# File lib/poppler/color.rb, line 32 def inspect inspect_raw[0..-2] + ": [#{to_a.join(", ")}]>" end
Also aliased as: inspect_raw
to_a()
click to toggle source
# File lib/poppler/color.rb, line 27 def to_a [red, green, blue] end