./lib/animoto/support/coverable.rb in animoto-0.1.1.beta1 vs ./lib/animoto/support/coverable.rb in animoto-1.0.0
- old
+ new
@@ -17,10 +17,10 @@
@cover
end
# Returns a representation of this visual as a Hash.
#
- # @return [Hash<String,Object>] this visual as a Hash
+ # @return [Hash{String=>Object}] this visual as a Hash
def to_hash
hash = super rescue {}
hash['cover'] = cover? unless @cover.nil?
hash
end
\ No newline at end of file