Class: Cat::Style::Rounded

Inherits:
Position show all
Defined in:
lib/cat/style/rounded.rb

Instance Method Summary collapse

Methods inherited from Position

#initialize, #validate

Constructor Details

This class inherits a constructor from Cat::Style::Position

Instance Method Details

#to_sObject



4
5
6
# File 'lib/cat/style/rounded.rb', line 4

def to_s
  "border-radius: #{@top || 0} #{@right || 0} #{@bottom || 0} #{@left || 0};"
end