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