Class: Cards::Layouts::NilLayout

Inherits:
Object
  • Object
show all
Defined in:
lib/cards/layouts/nil_layout.rb

Instance Method Summary collapse

Instance Method Details

#height(card) ⇒ Object



11
12
13
# File 'lib/cards/layouts/nil_layout.rb', line 11

def height(card)
  1
end

#layout(card) ⇒ Object



4
5
# File 'lib/cards/layouts/nil_layout.rb', line 4

def layout(card)
end

#width(card) ⇒ Object



7
8
9
# File 'lib/cards/layouts/nil_layout.rb', line 7

def width(card)
  1
end