Module: Playbook::Top

Included in:
KitBase
Defined in:
lib/playbook/top.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/playbook/top.rb', line 5

def self.included(base)
  base.prop :top
end

Instance Method Details

#top_optionsObject



13
14
15
16
17
# File 'lib/playbook/top.rb', line 13

def top_options
  {
    top: "top",
  }
end

#top_valuesObject



9
10
11
# File 'lib/playbook/top.rb', line 9

def top_values
  %w[0 xxs xs sm md lg xl auto initial inherit]
end