Class: Numeric
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#%(other = nil) ⇒ Object
155 156 157 158 159 160 161 |
# File 'opal/browser/css/unit.rb', line 155 def %(other = nil) if other old_percent(other) else Unit.new(self, :%) end end |
#old_percent ⇒ Object
153 |
# File 'opal/browser/css/unit.rb', line 153 alias old_percent % |
#to_u ⇒ Object
163 164 165 |
# File 'opal/browser/css/unit.rb', line 163 def to_u self end |