Method: Fetcher::Microdata::PersonUser#initialize
- Defined in:
- lib/fetcher-microdata/person_user.rb
#initialize(*args) ⇒ PersonUser
Returns a new instance of PersonUser.
5 6 7 8 9 10 11 12 |
# File 'lib/fetcher-microdata/person_user.rb', line 5 def initialize *args if args.length == 2 super *args else raise ArgumentError, "Wrong number of arguments #{args.length} and 2 needed" end @_type = 'http://schema.org/Person/User' end |