class Microformat::ItemDocument
Attributes
scopes[R]
Public Class Methods
new(scopes)
click to toggle source
# File lib/microformat.rb, line 97 def initialize(scopes) @scopes = scopes end
Public Instance Methods
products()
click to toggle source
# File lib/microformat.rb, line 101 def products @scopes.select { |x| x.type =~ /\/product$/i } end