Module: Playbook::Position
- Included in:
- KitBase
- Defined in:
- lib/playbook/position.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 |
# File 'lib/playbook/position.rb', line 5 def self.included(base) base.prop :position end |
Instance Method Details
#position_options ⇒ Object
13 14 15 16 17 |
# File 'lib/playbook/position.rb', line 13 def { position: "position", } end |
#position_values ⇒ Object
9 10 11 |
# File 'lib/playbook/position.rb', line 9 def position_values %w[relative absolute fixed sticky] end |