lib/fetcher-microdata/article_small.rb in fetcher-microdata-0.0.4 vs lib/fetcher-microdata/article_small.rb in fetcher-microdata-0.0.5

- old
+ new

@@ -1,13 +1,13 @@ module Fetcher class Microdata class ArticleSmall < Fetcher::Microdata def initialize *args - if args.length == 2 + if args.length == 3 super *args else - raise ArgumentError, "Wrong number of arguments #{args.length} and 2 needed" + raise ArgumentError, "Wrong number of arguments #{args.length} and 3 needed" end @_type = "http://schema.org/Article/Small" end attribute :additionalType \ No newline at end of file