Method: Vedeu::Presentation::Style.coerce
- Defined in:
- lib/vedeu/output/presentation/style.rb
.coerce(value) ⇒ Object
Produces new objects of the correct class from the value, ignores objects that have already been coerced.
29 30 31 32 33 |
# File 'lib/vedeu/output/presentation/style.rb', line 29 def self.coerce(value) return value if value.is_a?(self) new(value) end |