class TumblrThemer::Post::Audio

Public Instance Methods

embed_size(size) click to toggle source
# File lib/tumblr-themer/post/audio.rb, line 3
def embed_size size
  data['embed'].gsub(/width=['"](\d+)['"]/,%Q{width="#{size}"})
end