class Transfermarkt::EntityBase
Public Class Methods
new(options = {})
click to toggle source
# File lib/transfermarkt/entity_base.rb, line 7 def initialize(options = {}) options.each_pair do |key, value| self.send("#{key}=", value) if self.respond_to?("#{key}=") end end