Sha256: 95add5f7d5fcd351bb0e28b3b89848a9295bcd65575f9aae38c53b95dc3527c0
Contents?: true
Size: 211 Bytes
Versions: 1
Compression:
Stored size: 211 Bytes
Contents
class Audio < Transit::Context alias_attribute :source, :body def media_context? true end def to_js( attrs = {} ) super({ source: source, ext: file_ext }.reverse_merge!(attrs)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transit-0.0.2 | app/models/contexts/audio.rb |