Class: Bioroebe::ColourScheme::Simple
- Inherits:
-
Object
- Object
- Bioroebe::ColourScheme::Simple
show all
- Defined in:
- lib/bioroebe/colours/colour_schemes/simple.rb
Overview
Bioroebe::ColourScheme::Simple
Class Method Summary
collapse
-
.[](x) ⇒ Object
# === Bioroebe::ColourScheme::Simple[] ========================================================================= #.
-
.colours ⇒ Object
# === Bioroebe::ColourScheme::Simple.colours ========================================================================= #.
Class Method Details
.[](x) ⇒ Object
#
Bioroebe::ColourScheme::Simple[]
#
29
30
31
32
|
# File 'lib/bioroebe/colours/colour_schemes/simple.rb', line 29
def self.[](x)
return if x.nil?
@colours[x.to_s.upcase]
end
|
.colours ⇒ Object
#
Bioroebe::ColourScheme::Simple.colours
#
37
38
39
|
# File 'lib/bioroebe/colours/colour_schemes/simple.rb', line 37
def self.colours
@colours
end
|