module EffectiveStyleGuide
Constants
- VERSION
Public Class Methods
colors()
click to toggle source
# File lib/effective_style_guide.rb, line 31 def self.colors ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet', 'black', 'white', 'gray'] end
drinks()
click to toggle source
# File lib/effective_style_guide.rb, line 39 def self.drinks ['Coffee', 'Tea', 'Soda'] end
foods()
click to toggle source
# File lib/effective_style_guide.rb, line 35 def self.foods ['bacon', 'eggs', 'hash browns'] end
grouped_colors()
click to toggle source
# File lib/effective_style_guide.rb, line 43 def self.grouped_colors { 'Top' => [['red', 'red'], ['orange', 'orange'], ['yellow', 'yellow']], 'Middle' => [['green', 'green'], ['blue', 'blue'], ['indigo', 'indigo']], 'Bottom' => [['violet', 'violet']] } end
setup() { |self| ... }
click to toggle source
# File lib/effective_style_guide.rb, line 10 def self.setup yield self end