class ScrapCbf::MatchesBuilder

Attributes

matches[RW]

Public Class Methods

new(matches) click to toggle source
# File lib/scrap_cbf/builders/matches_builder.rb, line 13
def initialize(matches)
  @matches = matches
end

Public Instance Methods

to_h() click to toggle source
# File lib/scrap_cbf/builders/matches_builder.rb, line 17
def to_h
  @matches.map(&:to_h)
end