Class: Vedeu::Composition
- Inherits:
-
Object
- Object
- Vedeu::Composition
- Defined in:
- lib/vedeu/models/composition.rb
Instance Method Summary collapse
Instance Method Details
#to_json ⇒ Object
12 13 14 15 16 |
# File 'lib/vedeu/models/composition.rb', line 12 def to_json { interfaces: interfaces }.to_json end |
#to_s ⇒ Object
18 19 20 |
# File 'lib/vedeu/models/composition.rb', line 18 def to_s interfaces.map(&:to_s).join end |