Class: Cards::NilLayout
Instance Method Summary collapse
Instance Method Details
#height(card) ⇒ Object
10 11 12 |
# File 'lib/cards/layouts/nil_layout.rb', line 10 def height(card) 1 end |
#layout(card) ⇒ Object
3 4 |
# File 'lib/cards/layouts/nil_layout.rb', line 3 def layout(card) end |
#width(card) ⇒ Object
6 7 8 |
# File 'lib/cards/layouts/nil_layout.rb', line 6 def width(card) 1 end |