./lib/animoto/assets/title_card.rb in animoto-0.1.1.beta1 vs ./lib/animoto/assets/title_card.rb in animoto-1.0.0
- old
+ new
@@ -19,10 +19,10 @@
@title, @subtitle = title, subtitle
end
# Returns a representation of this TitleCard as a Hash.
#
- # @return [Hash<String,Object>] this TitleCard as a Hash
+ # @return [Hash{String=>Object}] this TitleCard as a Hash
# @see Animoto::Support::Visual#to_hash
def to_hash
hash = super
hash['h1'] = title
hash['h2'] = subtitle if subtitle
\ No newline at end of file