lib/img_props.rb in jekyll_img-0.1.3 vs lib/img_props.rb in jekyll_img-0.1.4
- old
+ new
@@ -3,11 +3,11 @@
# Properties from user
# All methods are idempotent.
# attr_ methods can be called after compute_dependant_properties
# All methods except compute_dependant_properties can be called in any order
class ImgProperties
- attr_accessor :align, :alt, :attr_wrapper_align_class, :caption, :classes, :continue_on_error, \
- :id, :img_display, :nofollow, :src, :size, :style, :target, :title, \
+ attr_accessor :align, :alt, :attr_wrapper_align_class, :attribute, :attribution, :caption, :classes, :continue_on_error,
+ :id, :img_display, :nofollow, :src, :size, :style, :target, :title,
:url, :wrapper_class, :wrapper_style
SIZES = %w[eighthsize fullsize halfsize initial quartersize].freeze
def attr_alt