# File lib/color/grayscale.rb, line 24 def self.from_fraction(g = 0) color = Color::GrayScale.new color.g = g color end